1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

fix: use Environment#NewLine in LogResult

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-12-31 14:09:56 +05:00
parent 3134c35751
commit dfe7eb3e0c
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -35,6 +35,7 @@ public static class LoggerExtensions
return; return;
} }
logger.LogWarning("{UserMessage}\n{ResultErrorMessage}", message, result.Error.Message); logger.LogWarning("{UserMessage}{NewLine}{ResultErrorMessage}", message, Environment.NewLine,
result.Error.Message);
} }
} }