mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-19 14:15:25 +02:00
Update onedrive.d
* Remove try block - incompatible with auto designation needed to open file ...
This commit is contained in:
parent
aa47f1119f
commit
68cc51ab4d
|
@ -803,14 +803,7 @@ final class OneDriveApi
|
|||
{
|
||||
// Threshold for displaying download bar
|
||||
long thresholdFileSize = 4 * 2^^20; // 4 MiB
|
||||
|
||||
try {
|
||||
// open file as write in binary mode
|
||||
auto file = File(filename, "wb");
|
||||
} catch (FileException e) {
|
||||
// display the error message
|
||||
displayFileSystemErrorMessage(e.msg);
|
||||
}
|
||||
auto file = File(filename, "wb");
|
||||
|
||||
// function scopes
|
||||
scope(exit) {
|
||||
|
|
Loading…
Reference in a new issue