ExceptionUtils.m
changeset 33 d52f6b0d94be
parent 23 a910102a1c9d
     1.1 --- a/ExceptionUtils.m	Tue Apr 07 11:13:25 2009 -0700
     1.2 +++ b/ExceptionUtils.m	Wed Jul 01 14:04:56 2009 -0700
     1.3 @@ -34,11 +34,9 @@
     1.4      va_start(args,where);
     1.5      where = [[NSString alloc] initWithFormat: where arguments: args];
     1.6      va_end(args);
     1.7 -    if( sExceptionReporter ) {
     1.8 -        Warn(@"Exception caught in %@:\n\t%@",where,x);
     1.9 +    Warn(@"Exception caught in %@:\n\t%@\n%@",where,x,x.my_callStack);
    1.10 +    if( sExceptionReporter )
    1.11          sExceptionReporter(x);
    1.12 -    }else
    1.13 -        Warn(@"Exception caught in %@:\n\t%@\n%@",where,x,x.my_callStack);
    1.14      [where release];
    1.15  }
    1.16