Replace tools.message_exit() with sys.exit()
sys.exit()
can print an error and send the appropriate error status to the shell.
Edited by Moul
Gitlab was upgraded to latest version (v18.3.1), please report issues to https://forum.duniter.org/t/interventions-et-indisponibilite-des-forums-et-de-gitlab/7131/298
sys.exit()
can print an error and send the appropriate error status to the shell.