Fixed lint warnings

This commit is contained in:
Oleg Elifantiev
2014-06-12 13:51:09 +04:00
parent fc69264f42
commit dbefe90661
+4 -1
View File
@@ -49,7 +49,10 @@ module Gitlab
def handle_exception(exception)
if exception.instance_of?(Grit::Git::GitTimeout)
Gitlab::GitLogger.error(exception.message + " " + exception.command + " " + exception.bytes_read)
detailed_message = exception.message
detailed_message << ' ' << exception.command
detailed_message << ' ' << exception.bytes_read
Gitlab::GitLogger.error(detailed_message)
else
Gitlab::GitLogger.error(exception.message)
end