Skip to content

Commit c0b8e2f

Browse files
committed
tmp
1 parent 7272a42 commit c0b8e2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/api/(utils)/storage.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,7 @@ export function createStorageFromEnv(localStorageEnvVar: string | undefined): Ap
254254
return FileStorage.fromEnv("STORAGE_LOCAL_DIR");
255255
} catch {}
256256

257-
try {
258-
return S3Storage.fromEnv();
259-
} catch {}
257+
return S3Storage.fromEnv();
260258

261259
throw new Error(`Must specify ${localStorageEnvVar} or AWS environment variables`);
262260
}

0 commit comments

Comments
 (0)