소스 검색

[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 년 전
부모
커밋
dfcbaeb77c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>