Log OutOfMemory exceptions from Merge Requests with GitLogger
This commit is contained in:
parent
fb903de508
commit
351b0e758b
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ module Gitlab
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
rescue Errno::ENOMEM => ex
|
||||||
|
Gitlab::GitLogger.error(ex.message)
|
||||||
rescue Grit::Git::GitTimeout
|
rescue Grit::Git::GitTimeout
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue