Skip to content

Commit 42ef2c7

Browse files
committed
fix: remove uneeded try catch block
1 parent 0534e4d commit 42ef2c7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/nuxt/src/runtime/plugins/storage.server.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@ export default defineNitroPlugin(async _nitroApp => {
6363
continue;
6464
}
6565

66-
try {
67-
instrumentDriver(mount.driver, mount.base);
68-
} catch {
69-
debug.error(`[storage] Failed to unmount mount: "${mount.base}"`);
70-
}
66+
instrumentDriver(mount.driver, mount.base);
7167
}
7268

7369
// Wrap the mount method to instrument future mounts

0 commit comments

Comments
 (0)