Skip to content

Commit c9d9636

Browse files
fix: use error.message directly for DisplayException stringification
Co-Authored-By: [email protected] <[email protected]>
1 parent 303560e commit c9d9636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AppLoader/AppLoader.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const AppLoader = (props: Props) => {
7272
let message = 'The application could not be loaded.';
7373
if (error && error instanceof DisplayException) {
7474
logError((error as any).innerError);
75-
message += ` ${error.toString()}`;
75+
message += ` ${(error as any).message}`;
7676
} else {
7777
logError(error);
7878
if (process.env.NODE_ENV !== environments.prod) {

0 commit comments

Comments
 (0)