Final code review for today

This commit is contained in:
JustArchi
2016-10-01 01:02:16 +02:00
parent ab129f27c3
commit 2aec630b71
3 changed files with 4 additions and 2 deletions

View File

@@ -117,6 +117,7 @@ namespace ArchiSteamFarm {
Logger.Error(exception, $"{botName}|{previousMethodName}()");
}
[SuppressMessage("ReSharper", "LocalizableElement")]
internal static void LogFatalException(Exception exception, string botName = SharedInfo.ASF, [CallerMemberName] string previousMethodName = null) {
if (exception == null) {
LogNullError(nameof(exception), botName);