TEMP: log information when failing to download db

TEMP: log information when failing to download db

diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index 9fe3a48..6a197df 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -165,8 +165,13 @@ task 'assets:precompile' => 'assets:precompile:before' do
     if !mmdb_time || mmdb_time < refresh_days.days.ago
       puts "Downloading MaxMindDB..."
       mmdb_thread = Thread.new do
-        DiscourseIpInfo.mmdb_download('GeoLite2-City')
-        DiscourseIpInfo.mmdb_download('GeoLite2-ASN')
+        begin
+          DiscourseIpInfo.mmdb_download('GeoLite2-City')
+          DiscourseIpInfo.mmdb_download('GeoLite2-ASN')
+        rescue => e
+          puts "Something when wrong while downloading the MaxMindDB: #{e.message}"
+          puts e.backtrace.join("\n")
+        end
       end
     end
   end

GitHub sha: 9ed2c54e