Commit 4fa66ffb authored by Sean McGivern's avatar Sean McGivern

Improve squash error logging

Include a string in all squash errors, and the reference of the MR that
is failing to squash.
parent 68bf0baf
......@@ -41,7 +41,7 @@ module MergeRequests
end
def log_error(message)
Gitlab::GitLogger.error(message)
Gitlab::GitLogger.error("#{self.class.name} error (#{merge_request.to_reference(full: true)}): #{message}")
end
def clean_dir
......
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