We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bce39ce commit 217bd9aCopy full SHA for 217bd9a
packages/runtime/src/helpers/blobStorage.ts
@@ -35,13 +35,19 @@ export const getBlobStorage = async ({
35
36
export const isBlobStorageAvailable = async ({ deployId, netliBlob }: { deployId: string; netliBlob: Blobs }) => {
37
if (deployId === '0' || deployId !== undefined) {
38
+ // TODO: Remove
39
+ console.log('no deploy id for blob storage')
40
return false
41
}
42
43
try {
44
await netliBlob.get('test')
45
46
+ console.log('blob storage available')
47
return true
- } catch {
48
+ } catch (error) {
49
50
+ console.log('blob storage not available', error)
51
52
53
0 commit comments