heiseonline / perl-sentry-sdk

Other
8 stars 6 forks source link

Fix `capture_context` for `capture_exception`. Add to `capture_event` #17

Closed mgray88 closed 1 year ago

mgray88 commented 1 year ago

Wrap the capture_context parameter in the SDK for what the Client expects. capture_message was already written this way, however capture_exception and capture_event did not correctly wrap the parameter, so the data was lost

pmb0 commented 1 year ago

Hi, thanks for your PR. Please provide some unit tests.