Use our new error system
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 1 Dec 2008 03:49:17 +0000 (22:49 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 1 Dec 2008 03:49:17 +0000 (22:49 -0500)
* Source/GDBpConnection.m:
(processData:): Call -[errorEncountered]

Source/GDBpConnection.m

index d103a11be5124eecec26b6208249ec050a1f657e..31faa62b61ac6d3089785b85a606c4236e0aae7a 100644 (file)
@@ -317,7 +317,7 @@ NSString *kErrorOccurredNotif = @"GDBpConnection_ErrorOccured_Notification";
        NSArray *error = [[doc rootElement] elementsForName:@"error"];
        if ([error count] > 0)
        {
-               [windowController setError:[[[[error objectAtIndex:0] children] objectAtIndex:0] stringValue]];
+               [self errorEncountered:[[[[error objectAtIndex:0] children] objectAtIndex:0] stringValue]];
                return nil;
        }