fix: catch clause

This commit is contained in:
Peng Xiao
2022-08-31 13:29:16 +08:00
parent 9f58518318
commit d9abfac89f

View File

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