Skip to content

Commit dcb0466

Browse files
committed
also seal any pending git changes before blowing up
1 parent b03492c commit dcb0466

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openaps/reports/invoke.py

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def main (args, app):
4040
output = task.method(args, app)
4141
except Exception as e:
4242
print(report.name, ' raised ', e, file=sys.stderr)
43+
# save prior progress in git
44+
app.epilog( )
45+
# ensure we still blow up with non-zero exit
4346
raise
4447
else:
4548
reporters.Reporter(report, device, task)(output)

0 commit comments

Comments
 (0)