vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Aug 22 13:12:27 2012 +0200| [42dd17214ba206318057843063236011c940050d] | committer: Felix Paul Kühne
macosx: fail silently when crash log delivery gives an error > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42dd17214ba206318057843063236011c940050d --- modules/gui/macosx/intf.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 58e6d95..ba8b848 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1865,13 +1865,14 @@ unsigned int CocoaKeyToVLC( unichar i_key ) - (void)connectionDidFinishLoading:(NSURLConnection *)connection { + msg_Dbg( p_intf, "crash report successfully sent" ); [crashLogURLConnection release]; crashLogURLConnection = nil; } - (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 = nil; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
