This commit is contained in:
Master Kwoth 2017-10-21 12:21:03 +02:00
parent fe4cfa732f
commit e609f78eec

View File

@ -53,6 +53,8 @@ namespace NadekoBot.Modules.Utility.Services
} }
private async Task UpdateCurrency(bool shouldLoad) private async Task UpdateCurrency(bool shouldLoad)
{
try
{ {
var unitTypeString = "currency"; var unitTypeString = "currency";
if (shouldLoad) if (shouldLoad)
@ -79,6 +81,12 @@ namespace NadekoBot.Modules.Utility.Services
.StringSet("converter_units", data); .StringSet("converter_units", data);
} }
} }
catch (Exception ex)
{
_log.Warn("Ignore the message below");
_log.Warn(ex);
}
}
public Task Unload() public Task Unload()
{ {