Skip to content

Commit cbfd20e

Browse files
committed
fix: fix error display
1 parent ebbbbac commit cbfd20e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/services/connect-token/acl-dialog/acl-dialog.component.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ export class ElementACLDialogComponent implements OnInit {
5151
} else if (typeof error === 'object') {
5252
if (error.detail) {
5353
error = error.detail;
54+
} else {
55+
error = JSON.stringify(error);
5456
}
55-
error = JSON.stringify(error);
5657
}
5758
return error;
5859
}

0 commit comments

Comments
 (0)