fdk-node
fdk-node copied to clipboard
FDK doesn't handle undefined response
If I return undefined on the fdk it hangs until the function timeout. I have a function that if there's an error, it just console.error('error message') and then return. When I try to invoke fn function it hangs until it timeout.
fdk.handle(async event => {
const result = await someAwaitFunction()
if(result.error) {
console.error(result.error)
return
}
....
})
fdk: 0.0.15 fn: 0.5.96