We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c904f5 commit fda3acaCopy full SHA for fda3aca
mldaikon/collect_trace.py
@@ -551,6 +551,11 @@ def is_path_md_output_dir(output_dir: str) -> bool:
551
print(f"An error occurred: {e}")
552
553
if return_code != 0:
554
- logging.error(f"Program exited with code {return_code}, skipping analysis.")
+ # exit with error code
555
+ logger.error(
556
+ "The program exited with error code %d, please check the logs for more details",
557
+ return_code,
558
+ )
559
+ exit(return_code)
560
561
logger.info("Trace collection done.")
0 commit comments