diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2018-03-27 14:42:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 14:42:12 -0700 |
commit | 550f12783c9b4bbad82c86552c44d1ed29d75bfd (patch) | |
tree | aacef924a33bb5eb8865f1fc28c40acc7844e0c5 /src/classlibnative | |
parent | ba10a4268bfe9ac06c8db1a9a82fdd5c369c5786 (diff) | |
download | coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.tar.gz coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.tar.bz2 coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.zip |
Failfast windows event log (#16875)
* Add FailFast error log to Windows Event Log
* change const wchar * to lpcwstr
* Enable sending unhandled exception info to Windows Event Log
* Change log format to match console output and address PR comments
* Remove more comments
* Change the order DoReportForUnhandledException to do a safety check first before calling managed code
* Fix parameter name in header file
* Add Windows Event logging in DefaultCatchHandler and remove DoReportForUnhandledException
* Add back event reporting for ignored unhandled exception cases, fix broken UNIX builds
* Fix more broken unix builds
* Fix typo
* Address PR comments
Diffstat (limited to 'src/classlibnative')
-rw-r--r-- | src/classlibnative/bcltype/system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classlibnative/bcltype/system.cpp b/src/classlibnative/bcltype/system.cpp index 57a4aa12df..a28adace88 100644 --- a/src/classlibnative/bcltype/system.cpp +++ b/src/classlibnative/bcltype/system.cpp @@ -460,7 +460,7 @@ void SystemNative::GenericFailFast(STRINGREF refMesgString, EXCEPTIONREF refExce WszOutputDebugString(W("\"\r\n")); } - const WCHAR * argExceptionString = NULL; + LPCWSTR argExceptionString = NULL; StackSString msg; if (gc.refExceptionForWatsonBucketing != NULL) { |