Commit 351b0e75 authored by randx's avatar randx

Log OutOfMemory exceptions from Merge Requests with GitLogger

parent fb903de5
......@@ -65,6 +65,8 @@ module Gitlab
end
end
end
rescue Errno::ENOMEM => ex
Gitlab::GitLogger.error(ex.message)
rescue Grit::Git::GitTimeout
return false
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