Commit 259e7848 authored by Carola Nitz's avatar Carola Nitz

VLCDropboxController: show error if the destinationpath is nil and we can't download

parent a9ef4f57
Pipeline #143 failed with stage
in 0 seconds
......@@ -216,6 +216,11 @@
return;
}
if (!destination) {
[self _handleError:[NSError errorWithDomain:NSLocalizedString(@"GDRIVE_ERROR_DOWNLOADING_FILE", nil) code:415 userInfo:nil]];
return;
}
// Need to replace all ' ' by '_' because it causes a `NSInvalidArgumentException ... destination path is nil` in the dropbox library.
destination = [destination stringByReplacingOccurrencesOfString:@" " withString:@"_"];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment