wangyao5 / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

Is it ACRA coding Bug? #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I see the source code in ErrorReporter.java of ACRA Ver4.5 ,Line380

            handleException(e, ACRA.getConfig().mode(), false, true);
        } catch (Throwable fatality) {
            // ACRA failed. Prevent any recursive call to
            // ACRA.uncaughtException(), let the native reporter do its job.
            if (mDfltExceptionHandler != null) {
                mDfltExceptionHandler.uncaughtException(t, e);
            //Wrong Coding ? why call uncaughtException again?

            }
        }

The annotation said prevent recursive call to ACRA.uncaughtException 
,However,the following if condition call uncaughtException again ,is it a bug ?

Original issue reported on code.google.com by won1...@gmail.com on 3 Apr 2014 at 2:33