summaryrefslogtreecommitdiff
path: root/src/debug/di
diff options
context:
space:
mode:
authorAndrew Au <andrewau@microsoft.com>2018-07-11 13:41:07 -0700
committerAndrew Au <cshung@gmail.com>2018-11-06 18:34:47 -0800
commitb8e2abe84f9c4d67ff4aa1e53b3ed775c2750c42 (patch)
tree8cdda6adff04da556da5f6350f7f34a24751e7d6 /src/debug/di
parenta89cd9e6654d21fc0f2a03eeaff71bcc84f69a1f (diff)
downloadcoreclr-b8e2abe84f9c4d67ff4aa1e53b3ed775c2750c42.tar.gz
coreclr-b8e2abe84f9c4d67ff4aa1e53b3ed775c2750c42.tar.bz2
coreclr-b8e2abe84f9c4d67ff4aa1e53b3ed775c2750c42.zip
Return better HR for failing to get managed thread context
Diffstat (limited to 'src/debug/di')
-rw-r--r--src/debug/di/process.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp
index e668fe6a93..0b6c582f67 100644
--- a/src/debug/di/process.cpp
+++ b/src/debug/di/process.cpp
@@ -6510,12 +6510,7 @@ HRESULT CordbProcess::GetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
*pContext = *managedContext;
}
}
- EX_CATCH
- {
- hr = E_FAIL;
- }
- EX_END_CATCH(SwallowAllExceptions)
-
+ EX_CATCH_HRESULT(hr)
return hr;
}
}