Skip to content

Releases: fginioux-golding/r-script

fix: unexpected error in body json parse

29 Jan 15:11
3f322af

Choose a tag to compare

fix: wrap success return into try catch to avoid server side fatal error

When we are running the script and the R code throw an error the close callback is called with non parsable body and crash the node js application. 

To "gracefully" handle the error the proposition is to wrap the code into a try/catch and return the error instead of the body ;