Skip to content

Commit

Permalink
Do not throw a fatal error when a temp file can't be removed.
Browse files Browse the repository at this point in the history
It is not that "fatal" since the results won't be affected. Reported by Nesvilab/FragPipe#1512
  • Loading branch information
fcyu committed Apr 1, 2024
1 parent 5ac318f commit 7a89a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/met/met.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func CleanTemp(dir string) {

e := os.RemoveAll(dir)
if e != nil {
msg.Custom(e, "fatal")
msg.Custom(e, "warning")
}
}

Expand Down

0 comments on commit 7a89a39

Please sign in to comment.