We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12760e4 + 844c3b6 commit effc112Copy full SHA for effc112
src/middleware/uploadMiddleware.ts
@@ -25,10 +25,9 @@ if (AZURE_STORAGE_CONNECTION_STRING) {
25
console.log('Azure Blob Storage configured successfully');
26
} catch (error) {
27
console.error('Failed to initialize Azure Blob Storage:', error);
28
- console.error('Falling back to local storage');
29
}
30
} else {
31
- console.error('Azure Storage connection string not provided, using local storage');
+ throw Error("Azure Storage connection string not provided");
32
33
34
// Multer configuration for memory storage
0 commit comments