chore(core): norification exception message

This commit is contained in:
Wroud
2020-06-16 11:27:18 +03:00
parent dd70db56a0
commit 6b452cc181
3 changed files with 3 additions and 3 deletions
@@ -45,7 +45,7 @@ export class NavigationTreeService {
}
return true;
} catch (exception) {
this.notificationService.logException(exception, `Can't load tree node: ${id}`);
this.notificationService.logException(exception);
}
return false;
}
@@ -24,7 +24,7 @@ export const SNACKBAR_STYLES = composes(
flex-direction: column;
box-sizing: border-box;
overflow: hidden;
width: 400px;
width: 500px;
margin-bottom: 16px;
margin-left: 16px;
padding: 18px 24px;
@@ -61,7 +61,7 @@ export class NotificationService {
logException(exception: Error, message?: string, silent?: boolean) {
if (!silent) {
this.logError({
title: message || exception.name,
title: message || exception.message || exception.name,
details: this.hasDetails(exception) ? exception : undefined,
isSilent: silent,
});