mirror of
https://github.com/ksherlock/ample.git
synced 2025-01-24 06:29:47 +00:00
improved error logging if mame can't be launched.
This commit is contained in:
parent
e003aea884
commit
3cbc69bf38
@ -65,7 +65,10 @@ static NSMutableSet *LogWindows;
|
||||
|
||||
|
||||
if (error) {
|
||||
NSLog(@"launchAction: %@", error);
|
||||
NSURL *url = [task executableURL];
|
||||
NSString *path = [NSString stringWithCString: [url fileSystemRepresentation] encoding: NSUTF8StringEncoding];
|
||||
NSLog(@"NSTask error. Path = %@ error = %@", path, error);
|
||||
[self appendString: path];
|
||||
[self appendString: [error description]];
|
||||
return error;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user