web & server: improved debug printing of unhandled mime types

This commit is contained in:
2023-11-26 18:50:32 -08:00
parent 11366b6fac
commit 1261bdf8a9
2 changed files with 30 additions and 2 deletions

View File

@@ -1059,7 +1059,7 @@ fn view_thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
match &msg.body {
ShowThreadQueryThreadMessagesBody::UnhandledContentType(
ShowThreadQueryThreadMessagesBodyOnUnhandledContentType { contents },
) => div![C!["error"], contents],
) => pre![C!["error"], contents],
ShowThreadQueryThreadMessagesBody::PlainText(
ShowThreadQueryThreadMessagesBodyOnPlainText { contents },
) => div![C!["view-part-text-plain"], contents],