mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
views: Show exception details with the utility to show errors
- Instead of showing traceback details only for action exceptions, show them for normal exceptions also. - Also adjust the gap between the error message and the preformatted text to make it appear better. Tests: - Alter code to raise an exception with the utility. See that details are as expected. - Raise an exception in a privileged action, ensure that the details shown as before. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
40e00423a8
commit
59a0a3b25f
2 files changed
+18
-10
No files matched your search
@@ -343,6 +343,10 @@ html {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.alert pre {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
/* Tags */
|
||||
.tag {
|
||||
--bs-btn-padding-y: 0.25rem; /* Make the badge shorter */
|
||||
|
||||
Reference in new issue
Block a user