Skip to content

Catch those errors

Choose a tag to compare

@danielkcz danielkcz released this 11 Oct 13:51
· 148 commits to master since this release

Main focus of this minor release is about better handling of errors that might occur during parsing or execution of behaviors. Everything is neatly handled by optional onError callback in planExecution method. By default it uses debug module to log errors. Use callback to do something different with errors, eg. send them to some service.