Przeglądaj źródła

[desktop] Fix unicode error in server logs

Server logs are having difficulty changing a string to unicode.
Ignoring the character causing an issue for now.
abec 14 lat temu
rodzic
commit
dfcbaeb77c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      desktop/core/src/desktop/templates/logs.mako

+ 1 - 1
desktop/core/src/desktop/templates/logs.mako

@@ -31,7 +31,7 @@ ${layout.menubar(section='log_view')}
 		<% log.reverse() %>
 		<pre>
 		% for l in log:
-${smart_unicode(l) | h}
+${smart_unicode(l, errors='ignore') | h}
 		% endfor
 		</pre>