[Discord]: Fix format string (#828)

This commit is contained in:
Edo 2023-03-11 13:52:55 +00:00 committed by GitHub
parent 5f33db9ed6
commit 8408f23d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ namespace Components
static void Errored(const int errorCode, const char* message)
{
Logger::Print(Game::CON_CHANNEL_ERROR, "Discord: Error (%i): %s\n", errorCode, message);
Logger::Print(Game::CON_CHANNEL_ERROR, "Discord: Error ({}): {}\n", errorCode, message);
}
void Discord::UpdateDiscord()