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