mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 22:08:41 +08:00
Log all errors during clean up as well.
This commit is contained in:
parent
867cefc492
commit
5ce8d7a8c5
@ -55,11 +55,11 @@ module BackupRestore
|
||||
begin
|
||||
notify_user
|
||||
remove_old
|
||||
clean_up
|
||||
rescue => ex
|
||||
Rails.logger.error("#{ex}\n" + ex.backtrace.join("\n"))
|
||||
end
|
||||
|
||||
clean_up
|
||||
@success ? log("[SUCCESS]") : log("[FAILED]")
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user