diff options
| author | David Skoland <davidskoland@gmail.com> | 2019-07-12 23:00:25 +0000 |
|---|---|---|
| committer | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-07-12 23:00:25 +0000 |
| commit | 5eccabcad15a52691228aded1d9c1fd5074fb70e (patch) | |
| tree | 7eb561cd17039bb29e2f50dd5699c634051d72b2 /src/discord_rich_presence.cpp | |
| parent | 621aa1adacec2bcc6befb1a4a70eff7c0e46e7b6 (diff) | |
Less insane debugging; minor refactoring (!75)
Diffstat (limited to 'src/discord_rich_presence.cpp')
| -rw-r--r-- | src/discord_rich_presence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/discord_rich_presence.cpp b/src/discord_rich_presence.cpp index 10f5833e..ac14bb21 100644 --- a/src/discord_rich_presence.cpp +++ b/src/discord_rich_presence.cpp @@ -11,10 +11,10 @@ Discord::Discord() qInfo() << "Discord RPC ready"; }; handlers.disconnected = [](int errorCode, const char* message) { - qInfo() << "Discord RPC disconnected! " << message; + qInfo() << "Discord RPC disconnected! " << message << errorCode; }; handlers.errored = [](int errorCode, const char* message) { - qWarning() << "Discord RPC errored out! " << message; + qWarning() << "Discord RPC errored out! " << message << errorCode; }; qInfo() << "Initializing Discord RPC"; Discord_Initialize(APPLICATION_ID, &handlers, 1, nullptr); |
