Skip to content

Commit

Permalink
clickhouse: changed exception's message type to unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Denisov committed Nov 23, 2016
1 parent 90b8ab5 commit 0afcac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query_runner/clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def run_query(self, query, user):
except Exception as e:
data = None
logging.exception(e)
error = str(e)
error = unicode(e)
return data, error

register(ClickHouse)

0 comments on commit 0afcac8

Please sign in to comment.