#Handling panics in commands
2 messages · Page 1 of 1 (latest)
Afaik that's not for us to implement by default but would make sense if the developer could enable this without implementing it for every command themselves as a convenience feature.
2 messages · Page 1 of 1 (latest)
Is it possible to handle panics in commands? From my testing panics in sync commands just crash, and in async commands cause the JS promise to hang. Would be great if panics could be caught and propagated as promise rejections in JS.
Afaik that's not for us to implement by default but would make sense if the developer could enable this without implementing it for every command themselves as a convenience feature.