-
Notifications
You must be signed in to change notification settings - Fork 212
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
move rollbar _createItem to top.. (remove error _createItem not defined) #792
base: master
Are you sure you want to change the base?
Conversation
@stuk88 Can you tell me more about the error? I'm not aware of this generating an error in node. |
_createItem is not defined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge this, the same error appears.
My guess this is an error during initialization. A complete stack trace rather than just the image of the offending frame would probably be more helpful if anyone else sees this (I don't use JS on the server and therefore haven't run into this) |
PLEASE MERGE THIS HOLY SHIT |
I believe the actual root cause for this issue is passing rollbar.error in as a callbak function. Say with a the |
@lopugit Thanks for that observation. I'll try it and see what I get. As for this PR, there are some reasons not to merge as is. The style throughout the project favors putting helper functions at the end of the file whether on the prototype or not. I don't have insight yet about why only |
Please merge this, it's happening a lot still in 2024 |
In node 8.16 the lib is making an error
_createItem
is not defined. moved the function defintion to top to fix it.