Bug 53655 - send Traceback when status 502 is received
send Traceback when status 502 is received
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Jan Luttermann
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-13 14:33 CEST by Jan Luttermann
Modified: 2021-09-15 17:41 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Luttermann univentionstaff 2021-08-13 14:33:39 CEST
Send Traceback to the univention server when status 502 is returned.

https://git.knut.univention.de/univention/ucs/-/issues/61
Comment 2 Florian Best univentionstaff 2021-08-15 09:53:27 CEST
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').
Comment 3 Jan Luttermann univentionstaff 2021-08-25 15:19:26 CEST
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
Comment 5 Florian Best univentionstaff 2021-08-25 16:09:38 CEST
git:9deabae3230dd8b3df989df190284db687774fa6 overwrote the current errata staging entries for univention-appcenter.
Comment 6 Jan Luttermann univentionstaff 2021-09-13 13:57:49 CEST
univention-appcenter.yaml
679245cda17e | Bug #53655: update errata changelog
c5f5b997b8b0 | Bug #53655: fixup changelog staging entry
Comment 7 Jan Luttermann univentionstaff 2021-09-14 12:08:32 CEST
univention-appcenter (9.0.2-58)
f503931109d8 | Bug #53655: convert traceback message to list

univention-appcenter.yaml
82ad15d9a7b2 | Bug #53655: update changelog
Comment 8 Dirk Wiesenthal univentionstaff 2021-09-14 18:07:25 CEST
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?
Comment 9 Erik Damrose univentionstaff 2021-09-15 17:41:52 CEST
<https://errata.software-univention.de/#/?erratum=5.0x92>