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

Sanitize inputs #17

Open
adborden opened this issue Jan 12, 2015 · 0 comments
Open

Sanitize inputs #17

adborden opened this issue Jan 12, 2015 · 0 comments

Comments

@adborden
Copy link
Contributor

librato.timing(123.456)

Uncaught TypeError: Object 824888000 has no method 'replace'
at sanitize_name (/Users/adborden/goodeggs/egglightenment/node_modules/librato-node/lib/librato.js:75:17)
at EventEmitter.librato.timing (/Users/adborden/goodeggs/egglightenment/node_modules/librato-node/lib/librato.js:36:12)
at Stats.timing (/Users/adborden/goodeggs/egglightenment/lib/index.js:72:43)
at Object. (/Users/adborden/goodeggs/egglightenment/lib/response_time.js:16:20)
at Object.immediate._onImmediate (timers.js:348:16)
at processImmediate as _immediateCallback

Could throw an error that it expects a string, followed by number.

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

No branches or pull requests

1 participant