mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 15:18:32 +08:00
fix: error message null
This commit is contained in:
1 parent
0b24be7532
commit
d468cb051d
1 file changed
+1
-1
@@ -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());
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user