Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

report will crash application if 'use strict' #26

Open
chengB12 opened this issue Jul 16, 2021 · 0 comments
Open

report will crash application if 'use strict' #26

chengB12 opened this issue Jul 16, 2021 · 0 comments

Comments

@chengB12
Copy link
Contributor

this line
https://github.com/wavefrontHQ/nodejs-metrics-wavefront/blob/master/lib/wavefront-direct-reporter.js#L74

under 'use strict', since chunks is not declared before use, node will throw error and exit, crashing application

chengB12 added a commit to chengB12/nodejs-metrics-wavefront that referenced this issue Oct 5, 2021
see wavefrontHQ#26

variable is used before declaration
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant