Skip to content

Conversation

jeregrine
Copy link
Contributor

@jeregrine jeregrine requested a review from mitchellhenke May 23, 2017 13:36
Sentry.capture_exception(my_exception)
Sentry.capture_exception(other_exception, [source_name: :my_source])
Sentry.capture_exception(other_exception, [event_source: :my_source])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also noticed this was mispelled I THINK so I just fixed it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, good catch


stacktrace = Keyword.get(opts, :stacktrace, [])

fingerprint = Keyword.get(opts, :fingerprint, ["{{ default }}"])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we should ALWAYS send this up, or if sentry will ignore it if its fingerprint: nil or fingerprint: []

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed in-person, but for posterity it seems other Sentry libraries do not send up a key/value for fingerprint if it's nil, so it would probably be best for us to do that too.

Currently we're directly encoding the Event struct to JSON, which is not ideal, and we'll need to not do that to fix the above issue. Created an issue for it here: #161

@jeregrine
Copy link
Contributor Author

@mitchellhenke ping

@jeregrine jeregrine merged commit 759fd38 into master Jun 26, 2017
@mitchellhenke mitchellhenke deleted the fingerprint branch May 2, 2019 20:54
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

Successfully merging this pull request may close these issues.

2 participants