-
Notifications
You must be signed in to change notification settings - Fork 36
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
possible typo in graylog2.js line 118 #25
Comments
I assume you mean to say that timestamp is a number, and this code runs Can you confirm if I understood you correctly? |
My comment was that I needed to remove the '(' in timestamp : ( timestamp || .. before the code would run. This looks like a typo in the code. |
The code does not have a brace too many. It wouldn't run if that were the case, and this module does run. Am I misunderstanding? Can you double check? |
/home/wizrd/ic-schedulergraphrunner/node_modules/graylog2/graylog.js:118 TypeError: (timestamp || (intermediate value)).getTime is not a function |
I think the idea is that you pass a |
line 112 - 121
var payload,
fileinfo,
that = this,
field = '',
message = {
version : '1.0',
118 -->> timestamp : (timestamp || new Date()).getTime() / 1000, <<--
host : this.hostname,
facility : this.facility,
level : level
};
The text was updated successfully, but these errors were encountered: