Closed snoble closed 8 years ago
I know this is old code but there's a minor bug. If the http request fails then only an error is sent to the callback here: https://github.com/snoble/presto-client-node/blob/master/lib/presto-client/index.js#L69, which leads to attempting to call error on undefined.
error
undefined
LGTM. Nice!
Thanks!
I know this is old code but there's a minor bug. If the http request fails then only an error is sent to the callback here: https://github.com/snoble/presto-client-node/blob/master/lib/presto-client/index.js#L69, which leads to attempting to call
error
onundefined
.