Commit 42dd1721 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fail silently when crash log delivery gives an error

parent 99acb947
...@@ -1865,13 +1865,14 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1865,13 +1865,14 @@ unsigned int CocoaKeyToVLC( unichar i_key )
- (void)connectionDidFinishLoading:(NSURLConnection *)connection - (void)connectionDidFinishLoading:(NSURLConnection *)connection
{ {
msg_Dbg( p_intf, "crash report successfully sent" );
[crashLogURLConnection release]; [crashLogURLConnection release];
crashLogURLConnection = nil; crashLogURLConnection = nil;
} }
- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
{ {
NSRunCriticalAlertPanel(_NS("Error when sending the Crash Report"), [error localizedDescription], @"OK", nil, nil); msg_Warn (p_intf, "Error when sending the crash report: %s (%li)", [[error localizedDescription] UTF8String], [error code]);
[crashLogURLConnection release]; [crashLogURLConnection release];
crashLogURLConnection = nil; crashLogURLConnection = nil;
} }
......
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