Skip to content

Commit

Permalink
Only show one alert when an exception happens.
Browse files Browse the repository at this point in the history
  • Loading branch information
luddep committed Feb 21, 2010
1 parent 6334f34 commit 50aa083
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LPCrashReporter.j
Expand Up @@ -53,6 +53,9 @@ var sharedErrorLoggerInstance = nil;
{
if ([self shouldInterceptException])
{
if (_exception)
return;

_exception = anException;

var alert = [[CPAlert alloc] init];
Expand Down

0 comments on commit 50aa083

Please sign in to comment.