Open sweep-ai[bot] opened 9 months ago
This is an automated message generated by Sweep AI.
This is an automated message generated by Sweep AI.
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
PR Feedback (click)
Description
This pull request fixes an issue where the code would throw an error when trying to read properties of undefined in the InfluxDBReporter class. The error occurred at line 96 in the influxdb-reporter.js file. The changes in this pull request handle the case where args.response is undefined by setting default values for the status, code, response_time, and response_size properties.
Summary
Fixes #41.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: