You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
I am using appengine and I noticed that some of my requests crashed without outputing any logs.
After investigating I found some logs that were not forwarded to the output :
File "/home/vmagent/python_vm_runtime/lib/protorpc-1.0/protorpc/wsgi/service.py", line 191, in protorpc_service_app
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 3604468: ordinal not in range(128)
Hello,
I am using appengine and I noticed that some of my requests crashed without outputing any logs.
After investigating I found some logs that were not forwarded to the output :
It's happening here : https://github.com/google/protorpc/blob/master/protorpc/wsgi/service.py#L190
When the error raised is a
unicode
instead of anstr
it's crashing. You can reproduce the issue easily with this piece of code :In order to fix this you just have to add a
u
before the string in the logging statement :Is that something that could be fixed ? Would you accept a PR with this fix ?
The text was updated successfully, but these errors were encountered: