Warn when migrate url site settings job encounters an error

Warn when migrate url site settings job encounters an error.

From df72674f247300eea07671bf5c6ef97285827177 Mon Sep 17 00:00:00 2001
From: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Wed, 21 Nov 2018 07:55:50 +0800
Subject: [PATCH] Warn when migrate url site settings job encounters an error.


diff --git a/app/jobs/onceoff/migrate_url_site_settings.rb b/app/jobs/onceoff/migrate_url_site_settings.rb
index 22a3f59..119199b 100644
--- a/app/jobs/onceoff/migrate_url_site_settings.rb
+++ b/app/jobs/onceoff/migrate_url_site_settings.rb
@@ -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")}"
             )

GitHub