mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Print error if temporary attachment file can’t be deleted
This commit is contained in:
parent
117f839547
commit
a6f65ae3a0
1 changed files with 3 additions and 1 deletions
|
@ -293,7 +293,9 @@ class Manager {
|
||||||
if (output != null) {
|
if (output != null) {
|
||||||
output.close();
|
output.close();
|
||||||
}
|
}
|
||||||
tmpFile.delete();
|
if (!tmpFile.delete()) {
|
||||||
|
System.err.println("Failed to delete temp file: " + tmpFile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return outputFile;
|
return outputFile;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue