Update warn message for MySQL fix

This commit is contained in:
Chris Wilson 2016-09-28 23:48:32 +00:00
parent 2cae81ff28
commit 9469666623
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if defined?(ActiveRecord::ConnectionAdapters::Mysql2Adapter)
execute_without_retry(*args)
rescue ActiveRecord::StatementInvalid => e
if e.message =~ /server has gone away/i
warn "Server timed out, retrying"
warn "Lost connection to MySQL server during query"
reconnect!
retry
else