Univention Bugzilla – Bug 53655
send Traceback when status 502 is received
Last modified: 2021-09-15 17:41:52 CEST
Send Traceback to the univention server when status 502 is returned. https://git.knut.univention.de/univention/ucs/-/issues/61
Your solution does not what the issue description wants. You are doing str(exc).split('\n'). This only splits the exception line. The ticket wants to get the traceback. You can also use .splitlines() instead of .split('\n').
univention-appcenter.yaml 9deabae3230d | Bug #53655: changelog staging entry univention-appcenter (9.0.2-62) 266adb3df7a6 | Bug #53655: changelog entry univention-appcenter (9.0.2-61) e4737f8c6531 | Bug #53655: fixup for returning traceback univention-appcenter (9.0.2-59) c007b8fa7f0a | Bug #53655: changelog entry univention-appcenter (9.0.2-58) f503931109d8 | Bug #53655: convert traceback message to list
Please see my note at: https://git.knut.univention.de/univention/ucs/-/commit/e4737f8c65316f4929bce6e1f1c5118193049f10#note_31883
git:9deabae3230dd8b3df989df190284db687774fa6 overwrote the current errata staging entries for univention-appcenter.
univention-appcenter.yaml 679245cda17e | Bug #53655: update errata changelog c5f5b997b8b0 | Bug #53655: fixup changelog staging entry
univention-appcenter (9.0.2-58) f503931109d8 | Bug #53655: convert traceback message to list univention-appcenter.yaml 82ad15d9a7b2 | Bug #53655: update changelog
Traceback is sent (502): OK YAML: OK Traceback is not sent (500): ~OK, but maybe a second bug? Traceback is rejected if no app is given (happens if the exception is thrown in resolve_dependencies: ~OK, should be fixed in the wsgi script, third bug?
<https://errata.software-univention.de/#/?erratum=5.0x92>