Divelogs.de upload: report error when unable to open upload file
Silently failing is not cool. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
622fb4f800
commit
3b033a85ac
@ -695,6 +695,8 @@ void DivelogsDeWebServices::prepareDivesForUpload(bool selected)
|
|||||||
f.close();
|
f.close();
|
||||||
f.remove();
|
f.remove();
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
report_error("Failed to open upload file %s\n", qPrintable(filename));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
report_error("Failed to create upload file %s\n", qPrintable(filename));
|
report_error("Failed to create upload file %s\n", qPrintable(filename));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user