Apply automatic rubocop fixes

This commit is contained in:
Sebastian Serth
2021-06-25 14:41:49 +02:00
parent 03b46cefb0
commit e7cf4ef5db
6 changed files with 42 additions and 40 deletions

View File

@ -197,11 +197,11 @@ module_name: File.basename(filename, File.extname(filename)).underscore}
@docker_client.kill_container(result[:container])
else
socket.send data
Rails.logger.debug("Sent the received client data to docker:#{data}")
Rails.logger.debug { "Sent the received client data to docker:#{data}" }
end
rescue JSON::ParserError
socket.send data
Rails.logger.debug("Rescued parsing error, sent the received client data to docker:#{data}")
Rails.logger.debug { "Rescued parsing error, sent the received client data to docker:#{data}" }
Sentry.set_extras(data: data)
end
end