cron: fix undefined variable in exception handler (again)
Fixup for a1d4408c2.
This commit is contained in:
@@ -32,7 +32,7 @@ module DanbooruMaintenance
|
||||
ApplicationRecord.connection.verify!
|
||||
job.perform_later
|
||||
rescue Exception => e # rubocop:disable Lint/RescueException
|
||||
DanbooruLogger.log(exception)
|
||||
DanbooruLogger.log(e)
|
||||
raise e if Rails.env.test?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user