diff options
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r-- | plugins/Toaster/src/services.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp index 3369a2ffb8..689dabae4a 100644 --- a/plugins/Toaster/src/services.cpp +++ b/plugins/Toaster/src/services.cpp @@ -104,11 +104,13 @@ static void ShowToastNotification(TCHAR* text, TCHAR* title, MCONTACT hContact) }
else
{
-#ifdef _DEBUG
+ OutputDebugStringA(CMStringA(FORMAT, "Toaster error: HRESULT = %lld", hr));
+#ifdef _DEBUG
DebugBreak();
#else
Netlib_Logf(NULL, "Toaster: " __FUNCTION__ " failed: HRESULT = %lld", hr);
#endif
+ delete arg->notification;
}
}
|