Skip to content

Commit 93ef85d

Browse files
committed
now, error messages are automatically opened to show their body
1 parent 64b2329 commit 93ef85d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

SBOLCanvasFrontend/src/app/error/error.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<h1 mat-dialog-title>An error has occurred.</h1>
2-
<mat-expansion-panel>
2+
<mat-expansion-panel [expanded]="true">
33
<mat-expansion-panel-header>
44

55
<mat-panel-description>
6-
Click to view more details.
6+
Click to see less Details.
77
</mat-panel-description>
88
</mat-expansion-panel-header>
99

SBOLCanvasFrontend/src/app/http.interceptor.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ intercept(
4040

4141
if (isPermissionException) {
4242
const serverParam = req.params?.get('server') || '';
43-
console.log('whatup1');
4443
this.loginService.forceLogout(serverParam);
45-
console.log('whatup2');
4644

4745
const serverLabel = serverParam || 'the registry';
4846
const message = `Disconnected from ${serverLabel}. Please sign in again.`;
4947
!this.ignoreHTTPErrors && this.dialog.open(ErrorComponent, { data: message });
50-
console.log('whatup3');
5148
}
5249
}
5350
return throwError(err);

0 commit comments

Comments
 (0)