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;