]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Sources/VLCLibrary.m
Replace libvlc_exception_get_message with libvlc_errmsg
[vlc] / projects / macosx / framework / Sources / VLCLibrary.m
index 237414186cdf6966ed8e37318ed6b0d3b4346cd5..d7d3d38cbd01c0fa368857bdc33415e612d62614 100644 (file)
@@ -42,7 +42,7 @@ void __catch_exception( void * e, const char * function, const char * file, int
         NSException* libvlcException = [NSException
             exceptionWithName:@"LibVLCException"
             reason:[NSString stringWithFormat:@"libvlc has thrown us an error: %s (%s:%d %s)", 
-                libvlc_exception_get_message( ex ), file, line_number, function]
+                libvlc_errmsg(), file, line_number, function]
             userInfo:nil];
         libvlc_exception_clear( ex );
         @throw libvlcException;