When DEBUG is True, ASCII error:
[Wed Apr 10 01:14:52.055354 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
[Wed Apr 10 01:14:52.055361 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
[Wed Apr 10 01:14:52.055365 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return debug.technical_500_response(request, *exc_info)
[Wed Apr 10 01:14:52.055371 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 94, in technical_500_response
[Wed Apr 10 01:14:52.055381 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] html = reporter.get_traceback_html()
[Wed Apr 10 01:14:52.055388 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 332, in get_traceback_html
[Wed Apr 10 01:14:52.055392 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] t = DEBUG_ENGINE.from_string(fh.read())
[Wed Apr 10 01:14:52.055398 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
[Wed Apr 10 01:14:52.055402 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return codecs.ascii_decode(input, self.errors)[0]
[Wed Apr 10 01:14:52.055412 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9735: ordinal not in range(128)
When DEBUG is True, ASCII error:
[Wed Apr 10 01:14:52.055354 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
[Wed Apr 10 01:14:52.055361 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
[Wed Apr 10 01:14:52.055365 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return debug.technical_500_response(request, *exc_info)
[Wed Apr 10 01:14:52.055371 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 94, in technical_500_response
[Wed Apr 10 01:14:52.055381 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] html = reporter.get_traceback_html()
[Wed Apr 10 01:14:52.055388 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/var/www/vhosts/appstore/venv/appstore/lib/python3.6/site-packages/django/views/debug.py", line 332, in get_traceback_html
[Wed Apr 10 01:14:52.055392 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] t = DEBUG_ENGINE.from_string(fh.read())
[Wed Apr 10 01:14:52.055398 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
[Wed Apr 10 01:14:52.055402 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] return codecs.ascii_decode(input, self.errors)[0]
[Wed Apr 10 01:14:52.055412 2019] [wsgi:error] [pid 13943:tid 140528746071808] [remote 173.92.24.163:58086] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 9735: ordinal not in range(128)