Browse Source

fix: catch clause

Peng Xiao 3 years ago
parent
commit
d9abfac89f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tldraw/apps/tldraw-logseq/src/hooks/usePaste.ts

+ 1 - 1
tldraw/apps/tldraw-logseq/src/hooks/usePaste.ts

@@ -78,7 +78,7 @@ export function usePaste(context: LogseqContextValue) {
             }
             imageAssetsToCreate.push(asset)
             return true
-          } finally {
+          } catch {
             return false
           }
         }