mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: log FS abortError to console (#4279)
This commit is contained in:
parent
1c48d122e0
commit
59e9651547
4 changed files with 10 additions and 0 deletions
|
@ -70,6 +70,8 @@ export const ToolButton = React.forwardRef((props: ToolButtonProps, ref) => {
|
|||
} catch (error: any) {
|
||||
if (!(error instanceof AbortError)) {
|
||||
throw error;
|
||||
} else {
|
||||
console.warn(error);
|
||||
}
|
||||
} finally {
|
||||
if (isMountedRef.current) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue