Commit 3e1d7c7b authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Local Server Folder List: add basic user facing error management

parent 2b8d1c85
...@@ -289,7 +289,10 @@ ...@@ -289,7 +289,10 @@
- (void)requestFailed:(WRRequest *)request - (void)requestFailed:(WRRequest *)request
{ {
APLog(@"request %@ failed with error %i message '%@'", request, request.error.errorCode, request.error.message); UIAlertView * alert = [[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:NSLocalizedString(@"ERROR_NUMBER", @""), request.error.errorCode] message:request.error.message delegate:self cancelButtonTitle:NSLocalizedString(@"BUTTON_CANCEL", @"") otherButtonTitles:nil];
[alert show];
APLog(@"request %@ failed with error %i message '%@'", request, request.error.errorCode, );
} }
#pragma mark - VLCLocalNetworkListCell delegation #pragma mark - VLCLocalNetworkListCell delegation
......
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