diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-05-02 18:50:49 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-05-11 19:11:19 -0500 |
commit | 71e689fe5179ca253d878480ba34e2e76a540eab (patch) | |
tree | dbd197605fdcc2805acc2d971fdc2dbc8bb6d8cb /src/burn/stub | |
parent | 5da97c750ef36518970eb0d3b02655b2eac75a35 (diff) | |
download | wix-71e689fe5179ca253d878480ba34e2e76a540eab.tar.gz wix-71e689fe5179ca253d878480ba34e2e76a540eab.tar.bz2 wix-71e689fe5179ca253d878480ba34e2e76a540eab.zip |
Add ability to suppress pfnTraceErrorCallback for the current thread.
Suppress BurnTraceError while logging errors from BurnTraceError.
#6378
Diffstat (limited to 'src/burn/stub')
-rw-r--r-- | src/burn/stub/stub.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/burn/stub/stub.cpp b/src/burn/stub/stub.cpp index 0cb202e0..090a8dbb 100644 --- a/src/burn/stub/stub.cpp +++ b/src/burn/stub/stub.cpp | |||
@@ -101,6 +101,8 @@ static void CALLBACK BurnTraceError( | |||
101 | 101 | ||
102 | if (fLog) | 102 | if (fLog) |
103 | { | 103 | { |
104 | DutilSuppressTraceErrorSource(); | ||
104 | LogErrorStringArgs(hrError, szFormat, args); | 105 | LogErrorStringArgs(hrError, szFormat, args); |
106 | DutilUnsuppressTraceErrorSource(); | ||
105 | } | 107 | } |
106 | } | 108 | } |