Revert "Code analysis recommended this"

This reverts commit 1f8dd72606.
This commit is contained in:
appelemac
2016-06-05 20:50:44 +02:00
parent 1f8dd72606
commit e6cd56946c
2 changed files with 3 additions and 18 deletions

View File

@ -49,11 +49,11 @@ namespace NadekoBot.Modules.Searches.Commands
string result = parser.Parse(expression).ToString();
return result;
}
catch (OverflowException)
catch (OverflowException e)
{
return $"Overflow error on {expression}";
}
catch (FormatException)
catch (FormatException e)
{
return $"\"{expression}\" was not formatted correctly";
}