Warn when migrate url site settings job encounters an error.

This commit is contained in:
Guo Xiang Tan 2018-11-21 07:55:50 +08:00
parent 15e793fd3b
commit df72674f24
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ module Jobs
SocketError,
Discourse::InvalidParameters => e
logger.info(
logger.warn(
"Error encountered when trying to download file " +
"for #{new_setting}.\n#{e.class}: #{e.message}\n#{e.backtrace.join("\n")}"
)