Open chiara-paci opened 1 year ago
This may be related to #411...
It's hard to see what could be the issue here. Can you reduce it to a minimal runnable example?
I suppose this can be triggered introducing a syntax error on a minimal "Hello World" asgi application and configuring a systemd service.
When django raise a 500 error (f.e. following a ValueError), instead of exception stacktrace on journalctl log there is an UnicodeDecodeError.
Environment: Debian 10.12, Python 3.7.3, Django 3.2.5, Daphne 3.0.2, Apache 2.4.38
Systemd Unit File:
Sample output
In a queryset, I define an annotation with the same name as a field:
The expected behaviour on journalctl log is an exception stacktrace with something like (from django console):
Instead I have: