Skip to content

Commit 7d996cc

Browse files
committed
fix(shadow): log error in lambda
1 parent 11083bf commit 7d996cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lambda/fetchDeviceShadow.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ const h = async (): Promise<void> => {
193193
)
194194
}
195195
}
196+
} catch (error) {
197+
console.error(error)
196198
} finally {
197199
await lock.releaseLock(lockName)
198200
}

0 commit comments

Comments
 (0)