mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix filter error reporting
This commit is contained in:
parent
71a1ae2d38
commit
a7933adae0
|
@ -426,9 +426,12 @@ advanceAt:
|
|||
[filterTask waitUntilExit];
|
||||
[filterTask release];
|
||||
|
||||
if ([error length])
|
||||
if ([error length]) {
|
||||
NSString * errStr = [[[NSString alloc] initWithData:error
|
||||
encoding:NSUTF8StringEncoding] autorelease];
|
||||
[NSException raise:NSInvalidArgumentException
|
||||
format:@"Filter %@: %@", filterName, error];
|
||||
format:@"Filter %@: %@", filterName, errStr];
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user