Skip to content

Commit

Permalink
Make 'Debugger failed' message more informative.
Browse files Browse the repository at this point in the history
Now gives users more info to act upon when they get the debugger failed message
  • Loading branch information
Paul Thorsteinson committed Dec 6, 2012
1 parent 31d05eb commit ffaafe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ObjC/PonyDebugger/PDDebugger.m
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ - (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reas

- (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error;
{
NSLog(@"Debugger failed");
NSLog(@"Debugger failed with web socket error: %@", [error localizedDescription]);
_socket.delegate = nil;
_socket = nil;
}
Expand Down

0 comments on commit ffaafe3

Please sign in to comment.