Improve errors reporting

Errors are now displayed in a data view showing:
 - the file
 - the error message
 - A button that allows you to open the errored file in the default system editor
This commit is contained in:
Antoine Mercadal
2013-01-24 23:41:25 -08:00
parent b44a3c191d
commit 628a4db746
8 changed files with 414 additions and 88 deletions
+7 -1
View File
@@ -545,7 +545,13 @@ NSString * const XCCListeningStartNotification = @"XCCListeningStartNotification
else if (![status intValue] == 0)
{
if (response)
[errorList addObject:response];
{
NSDictionary *errorDictionary = [NSDictionary dictionaryWithObjectsAndKeys:response, @"message",
splitPath, @"file",
fullPath, @"path", nil];
[errorList addObject:errorDictionary];
}
[delegate performSelector:@selector(growlWithTitle:message:) withObject:@"Error processing file" withObject:splitPath];
}