File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
AndroidSDKCore/src/main/java/com/leanplum/monitoring Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ public void setContext(Context context) {
2525 try {
2626 exceptionReporter .setContext (context );
2727 } catch (Throwable t ) {
28- Log .e ("LeanplumCrashHandler " , t );
28+ Log .e ("LeanplumExceptionHandler " , t );
2929 }
3030 }
31+ } catch (ClassNotFoundException t ) {
32+ Log .i ("LeanplumExceptionHandler could not initialize Exception Reporting." +
33+ "This is expected if you have not included the leanplum-monitoring module" );
3134 } catch (Throwable t ) {
32- Log .e ("LeanplumCrashHandler " , t );
35+ Log .e ("LeanplumExceptionHandler " , t );
3336 }
3437 }
3538
@@ -38,7 +41,7 @@ public void reportException(Throwable exception) {
3841 try {
3942 exceptionReporter .reportException (exception );
4043 } catch (Throwable t ) {
41- Log .e ("LeanplumCrashHandler " , t );
44+ Log .e ("LeanplumExceptionHandler " , t );
4245 }
4346 }
4447 }
You can’t perform that action at this time.
0 commit comments