bugsnag-api-ruby icon indicating copy to clipboard operation
bugsnag-api-ruby copied to clipboard

Parsing of datetimes in request params

Open tsujigiri opened this issue 5 years ago • 6 comments

I tried to get the request params of a few failed requests against an API endpoint of ours from Bugsnag. The request params contained datetimes. bugsnag-api seems to try to parse datetimes into Time objects. In my case, they ended up being wrong. The datetimes were formatted like this: "10:27:13 Mar 27, 2020 PDT". Without information about the formatting, it will be hard to guess the right format and parse it correctly in some cases. Datetimes probably shouldn't be parsed at all for request params.

tsujigiri avatar Apr 21 '20 10:04 tsujigiri

Hi @tsujigiri

Could you contact [email protected] with an example of the API request you're making and details of which Bugsnag project this is on so we can try to reproduce the behavior?

mattdyoung avatar Apr 29 '20 22:04 mattdyoung

:heavy_check_mark:

tsujigiri avatar Apr 30 '20 14:04 tsujigiri

Hey @tsujigiri! we've not received anything at [email protected] just yet.

xljones avatar May 01 '20 14:05 xljones

That's weird. Did you check your spam folder? :grimacing:

tsujigiri avatar May 01 '20 15:05 tsujigiri

I sent it again.

tsujigiri avatar May 01 '20 16:05 tsujigiri

@tsujigiri - received thank you!

mattdyoung avatar May 01 '20 16:05 mattdyoung