Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot destructure property 'data' of '(intermediate value)' as it is undefined. #45

Closed
jdbruijn opened this issue Jun 17, 2023 · 1 comment
Labels

Comments

@jdbruijn
Copy link
Member

View details in Rollbar: https://rollbar.com/vidavidorra/P1-meter-exporter/items/30/


TypeError: Cannot destructure property 'data' of '(intermediate value)' as it is undefined.
  File "/app/src/p1-meter/api.ts", line 49, in P1Meter.request
  File "node:internal/process/task_queues", line 95, in process.processTicksAndRejections
  File "/app/src/p1-meter/api.ts", line 41, in P1Meter.telegram
  File "/app/src/exporter/measurement.ts", line 17, in Measurement.export
vidavidorra-release bot added a commit that referenced this issue Jun 17, 2023
## [2.0.14](v2.0.13...v2.0.14) (2023-06-17)

### Bug Fixes

* catch startup error and log it to `console.error` ([7ce5da5](7ce5da5))
* **p1-meter:** propagate Axios error to the exporter ([7d69948](7d69948)), closes [#43](#43) [#44](#44) [#45](#45) [#46](#46) [#47](#47)
* **p1-meter:** set Axios timeout to 10 seconds ([4be4d90](4be4d90))
* **Rollbar:** ignore P1-meter `ETIMEDOUT`, `EHOSTDOWN` and `ECONNABORTED` errors ([c95a688](c95a688))
@vidavidorra-release
Copy link
Contributor

🎉 This issue has been resolved in version 2.0.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant