diff options
author | Jason Chang <jasonnc@google.com> | 2023-06-22 15:04:06 -0700 |
---|---|---|
committer | Jason Chang <jasonnc@google.com> | 2023-06-26 15:38:30 +0000 |
commit | c657844efe40b97700c3654989bdbe3a33e409d7 (patch) | |
tree | ceb3c380cd3b0c5faf8616396dee3af1fe9b7387 /error.py | |
parent | 1d3b4fbeec576db819b78227befc943fa6f2c6f1 (diff) | |
download | git-repo-c657844efe40b97700c3654989bdbe3a33e409d7.tar.gz |
main: Fix exitcode loggingv2.35
Fixed a couple of bugs in ExitEvent logging:
- log exitcode 130 on KeyboardInterrupt
- log exitcode 1 on unhandled Exception
- log errorevent with specific reason for exit
Before this CL an exitcode of 0 would be logged, and it would be
difficult to determine the cause of non-zero exit codes
Bug: b/287105597
Change-Id: I2d34f180581f9fbd77a1c78c966ebed065223af6
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/377834
Tested-by: Jason Chang <jasonnc@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'error.py')
0 files changed, 0 insertions, 0 deletions