Skip to content

Commit 217bd9a

Browse files
committed
chore: added some temp logging
1 parent bce39ce commit 217bd9a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/runtime/src/helpers/blobStorage.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,19 @@ export const getBlobStorage = async ({
3535

3636
export const isBlobStorageAvailable = async ({ deployId, netliBlob }: { deployId: string; netliBlob: Blobs }) => {
3737
if (deployId === '0' || deployId !== undefined) {
38+
// TODO: Remove
39+
console.log('no deploy id for blob storage')
3840
return false
3941
}
4042

4143
try {
4244
await netliBlob.get('test')
45+
// TODO: Remove
46+
console.log('blob storage available')
4347
return true
44-
} catch {
48+
} catch (error) {
49+
// TODO: Remove
50+
console.log('blob storage not available', error)
4551
return false
4652
}
4753
}

0 commit comments

Comments
 (0)