mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Print error if temporary attachment file can’t be deleted
This commit is contained in:
1 parent
117f839547
commit
a6f65ae3a0
1 file changed
+3
-1
@@ -293,7 +293,9 @@ class Manager {
|
||||
if (output != null) {
|
||||
output.close();
|
||||
}
|
||||
tmpFile.delete();
|
||||
if (!tmpFile.delete()) {
|
||||
System.err.println("Failed to delete temp file: " + tmpFile);
|
||||
}
|
||||
}
|
||||
return outputFile;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user