diff --git a/src/components/profile/profile-viewer.tsx b/src/components/profile/profile-viewer.tsx index 563dbca848382e6079a73e7227d30677f2393837..079ca1fb2cf48cb2503defcdcdaa14f347a0b2cf 100644 --- a/src/components/profile/profile-viewer.tsx +++ b/src/components/profile/profile-viewer.tsx @@ -115,7 +115,7 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>( fileDataRef.current = null; props.onChange(); } catch (err: any) { - Notice.error(err.message); + Notice.error(err.message || err.toString()); } }) );