mirror of https://github.com/ksherlock/ample.git
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…
Reference in New Issue