smartsheet-platform/Smartsheet-Data-Tracker

json.dumps() fails on unprintable character

nitrocode opened this issue · 1 comments

Hi, just wanted to share a patch with you.

Noticed that json.dumps() fails on an unprintable character so I added a try / except to see if the payload fails and if it does, it checks each value and if a value fails to json.dumps() then it corrects the value.

nitrocode@bdc4fad

I'm not sure how to merge it. I checked out the code, added the new lines, tested it, committed it, pushed it, and then from the github website I created a pull request.

Thanks for the pull request. But, as mentioned in the pull request comments, if we can't reproduce the error to test the bug fix, then we'll wait on merging the change.