Skip to content
Snippets Groups Projects
Unverified Commit fb653ff9 authored by GyDi's avatar GyDi Committed by GitHub
Browse files

fix: error message null

parent 78fc47a9
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
})
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment