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