From 791fe2ed6f45c939ef1ee06baf056ec63edafd07 Mon Sep 17 00:00:00 2001 From: Avgor46 Date: Fri, 6 Oct 2023 19:31:03 +0300 Subject: [PATCH] Bug fix --- update_usage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update_usage.py b/update_usage.py index ff398e5f..6453fc88 100755 --- a/update_usage.py +++ b/update_usage.py @@ -9,7 +9,8 @@ command = subprocess.run(["cargo", "build"]) if command.returncode != 0: - print('Cargo build exited with code ' + command.returncode) + print('Cargo build exited with code ' + str(command.returncode)) + exit(command.returncode) build_dir = os.path.dirname(os.path.realpath(__file__)) target_dir = os.path.join(build_dir, "target", "debug")