Skip to content
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

Params in Bugsnag is incorrect with non-json data #302

Open
ragingdave opened this issue May 22, 2018 · 4 comments
Open

Params in Bugsnag is incorrect with non-json data #302

ragingdave opened this issue May 22, 2018 · 4 comments
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@ragingdave
Copy link

Expected behavior

When something like SOAP or xml is posted to laravel and an exception occurs I would expect to see that in the bugsnag interface under params.

Observed behavior

When something like SOAP or xml is posted to laravel and an exception occurs params is an empty array.

Steps to reproduce

Post XML data to a route and throw an exception note that the request in bugsnag is empty.

Version

Bugsnag: 3.10
Bugsnag Laravel: 2.11.1

Would something like a "raw" metadata addition be something that could be populated by getContent() rather than just relying on input() to get the post data?

@Cawllec Cawllec added the feature request Request for a new feature label Jun 5, 2018
@Cawllec
Copy link
Contributor

Cawllec commented Jun 5, 2018

Hi @ragingdave, thanks for the feature request! I've raised it with our products team and we'll try and update you on when things progress. In the meantime, are you able to add your data manually by adding a callback?

@ragingdave
Copy link
Author

ragingdave commented Jun 5, 2018 via email

@Cawllec
Copy link
Contributor

Cawllec commented Jun 5, 2018

You can also register a callback in a specific controller so that the callback would only be added when the routes that receive the XML/SOAP data is called.

@Cawllec
Copy link
Contributor

Cawllec commented Oct 10, 2018

I'm closing this for now, but I'll update it as the feature request progresses.

Edit - We're going to keep this open as a place to reference as progression for the feature request

@Cawllec Cawllec closed this as completed Oct 10, 2018
@Cawllec Cawllec reopened this Oct 11, 2018
@abigailbramble abigailbramble added the backlog We hope to fix this feature/bug in the future label Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants