From 3e325e6c03d61622416cfebc742a5eeb84c91559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Mon, 26 Jun 2023 10:47:46 +0200 Subject: [PATCH] Update SmartArrayControllerTool.cpp --- src/SmartArrayControllerTool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SmartArrayControllerTool.cpp b/src/SmartArrayControllerTool.cpp index 8b91f17..40130e8 100644 --- a/src/SmartArrayControllerTool.cpp +++ b/src/SmartArrayControllerTool.cpp @@ -197,6 +197,9 @@ int wmain(int argc, wchar_t* argv[]) case ERROR_INVALID_PARAMETER: errorCode = L"ERROR_INVALID_PARAMETER"; break; + default: + std::wcerr << L"GetLastError(): " << std::hex << GetLastError() << std::endl; + break; } std::wcerr << L"Failed to send request, error: " << errorCode << std::endl;