Skip to content
Snippets Groups Projects
Commit e6e2a9f3 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Add error handling to log creation with files

We've had some bad cases where a log entry is created, but the
file is not saved due to filesystem errors. So we put the file
creation in a try-except block and if it fails, delete the log
message that was just created before re-raising the exception.
parent f2b55e1c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment