Merge pull request #91 from dbeaver/chore-tree-notification

chore(core): norification exception message
This commit is contained in:
Serge Rider
2020-06-16 12:50:48 +03:00
committed by GitHub
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,
});