Skip to content

Commit 7a89a39

Browse files
committed
Do not throw a fatal error when a temp file can't be removed.
It is not that "fatal" since the results won't be affected. Reported by Nesvilab/FragPipe#1512
1 parent 5ac318f commit 7a89a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/met/met.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ func CleanTemp(dir string) {
483483

484484
e := os.RemoveAll(dir)
485485
if e != nil {
486-
msg.Custom(e, "fatal")
486+
msg.Custom(e, "warning")
487487
}
488488
}
489489

0 commit comments

Comments
 (0)