-
Notifications
You must be signed in to change notification settings - Fork 56
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
Is this documentation outdated? #301
Comments
@joshuap The second argument is the metadata and not the context. To pass in context you need the |
@joshuap honeybadger-elixir/lib/honeybadger.ex Lines 253 to 257 in 24edb30
honeybadger-elixir/lib/honeybadger.ex Lines 428 to 435 in 24edb30
|
@rabidpraxis oh OK, so our docs are actually valid? Is there a method you prefer? |
I'm not sure. I probably swing towards favoring the explicit version, just for readability sake. |
The README is - it tells you to go and watch an Elixir Sips screencast - and the link doesn't work |
This is corrected in the github repo - so please ignore |
The README and code docs for
Honeybadger.notify
say to pass the context as the second argument:honeybadger-elixir/lib/honeybadger.ex
Line 44 in d051f07
...but it looks like the second argument is actually metadata, which expects a
context
key:honeybadger-elixir/lib/honeybadger/notice.ex
Line 58 in c2dc311
Should it be
Honeybadger.notify(exception, context)
, orHoneybadger.notify(exception, %{context: context})
? I may be forgetting how this works.cc @rabidpraxis @sorentwo
The text was updated successfully, but these errors were encountered: