Open greensopinion opened 1 year ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Avoid crashing NodeJS with an unhandledRejection by catching errors from createTimeSeries.
createTimeSeries
can fail with an unhandled promise rejection, which will by default cause the NodeJS process to exit. By handling the error gracefully, the process can continue to run.Added a corresponding test.