airqo-platform / airqo-platform/AirQo-api
Fix event naming and unused catch block in old_database.js
未关闭
- 主要语言
- JavaScript
- 星标
- 26
- 派生
- 24
- 平均合并
- 5 小时 36 分钟
- 30 天内合并 PR
- 81
描述
**Issue**: The code has non-standard Node.js events "unlimitedRejection" instead of "unhandledRejection" and "disconnection" instead of "disconnected". Also, the try/catch block does not log or rethrow the error, making it effectively unused.
**Referenced PR**: https://github.com/airqo-platform/AirQo-api/pull/4157
**Comment URL**: https://github.com/airqo-platform/AirQo-api/pull/4157#discussion_r1901996027
Reported by @Baalmart
贡献指南
评估
这个 Issue 还没有评估数据。