diff --git a/common/src/main/java/com/microsoft/hydralab/common/appcenter/AppCenterErrorLogHandler.java b/common/src/main/java/com/microsoft/hydralab/common/appcenter/AppCenterErrorLogHandler.java index 34c524dd7..1eae0b21f 100644 --- a/common/src/main/java/com/microsoft/hydralab/common/appcenter/AppCenterErrorLogHandler.java +++ b/common/src/main/java/com/microsoft/hydralab/common/appcenter/AppCenterErrorLogHandler.java @@ -122,7 +122,7 @@ public HandledErrorLog createErrorLog(final Thread thread, final Throwable throw /* Uncaught exception or managed exception. */ errorLog.setFatal(fatal); if (!fatal) { - errorLog.setType(HandledErrorLog.TYPE); + errorLog.setType(HandledErrorLog.WARNING_TYPE); } /* Application launch time. */ diff --git a/common/src/main/java/com/microsoft/hydralab/common/appcenter/entity/HandledErrorLog.java b/common/src/main/java/com/microsoft/hydralab/common/appcenter/entity/HandledErrorLog.java index ff868d832..264ab577f 100644 --- a/common/src/main/java/com/microsoft/hydralab/common/appcenter/entity/HandledErrorLog.java +++ b/common/src/main/java/com/microsoft/hydralab/common/appcenter/entity/HandledErrorLog.java @@ -17,7 +17,7 @@ public class HandledErrorLog implements Log { /** * Log type. */ - public static final String TYPE = "handledError"; + public static final String WARNING_TYPE = "handledError"; /** * Exception associated to the error. @@ -47,6 +47,10 @@ public class HandledErrorLog implements Log { * The optional user identifier. */ private String userId; + /** + * "managedError" -> AppCenter Crash + * "handledError" -> AppCenter Error + */ private String type = "managedError"; /**