Browse Source

[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 13 years ago
parent
commit
dfcbaeb77c
1 changed files with 1 additions and 1 deletions
  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>