slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
891 stars 136 forks source link

Fix for UnhandledPromiseRejectionWarning (GH issue 132) #133

Closed spijs closed 3 years ago

spijs commented 3 years ago

Provides a fix for the following issue: https://github.com/slanatech/swagger-stats/issues/132

ghost commented 3 years ago

DeepCode's analysis on #5fbf89 found:

Description Example fixes
No catch method for promise. This may result in an unhandled promise rejection. Occurrences: :wrench: Example fixes

👉 View analysis in DeepCode’s Dashboard | Configure the bot