Commit 39e19004 authored by Stan Hu's avatar Stan Hu

Fix LogCursor error message handler

Serializing this to JSON would dump some odd text with "iseq".
parent 767d0950
......@@ -8,7 +8,7 @@ module Gitlab
def log_error(message, error)
data = base_log_data(message)
data[:error] = error
data[:error] = error.to_s
Gitlab::Geo::Logger.error(data)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment