vlc/vlc-2.0 | branch: master | Felix Paul Kühne <[email protected]> | Wed Aug 22 13:12:27 2012 +0200| [92c6cf6d2e392c4d4f63b6a8a2d8e7c302a23925] | committer: Felix Paul Kühne
macosx: fail silently when crash log delivery gives an error (cherry picked from commit 42dd17214ba206318057843063236011c940050d) > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=92c6cf6d2e392c4d4f63b6a8a2d8e7c302a23925 --- 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 d5c8494..ff64093 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1878,13 +1878,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
