mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore(core): norification exception message
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user