mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-02 07:06:16 +00:00
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:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user