Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' into feature/fix-npe-in-lifecycle-tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Reimold committed Jun 1, 2015
2 parents c3c3fc8 + 7e10efd commit cbdb188
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ protected void processUnhandledException(Envelope envelope) {
data[0] = envelope;

if (this.persistence != null) {
InternalLogging.info(TAG, "persisting crash", envelope.toString());
this.persistence.persist(data, true);
}
else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ protected static void registerExceptionHandler(boolean ignoreDefaultHandler) {
ignoreDefaultHandler);

Thread.setDefaultUncaughtExceptionHandler(handler);
InternalLogging.info(TAG,
"ExceptionHandler was registered successfully", "");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ private void createDirectoriesIfNecessary() {
String filesDirPath = getContext().getFilesDir().getPath();
//create high prio directory
File dir = new File(filesDirPath + AI_SDK_DIRECTORY + HIGH_PRIO_DIRECTORY);
String successMessage = "Successfully created regular directory";
String successMessage = "Successfully created directory";
String errorMessage = "Error creating directory";
if (!dir.exists()) {
if (dir.mkdirs()) {
Expand Down

0 comments on commit cbdb188

Please sign in to comment.