diff --git a/src/coreclr/vm/excep.cpp b/src/coreclr/vm/excep.cpp index 63634325e3fdfe..48d67b68fc0940 100644 --- a/src/coreclr/vm/excep.cpp +++ b/src/coreclr/vm/excep.cpp @@ -4808,9 +4808,9 @@ DefaultCatchHandlerExceptionMessageWorker(Thread* pThread, if (IsException(throwable->GetMethodTable())) { - if (!message.IsEmpty()) + if (!exceptionMessage.IsEmpty()) { - reporter.AddDescription(message); + reporter.AddDescription(exceptionMessage); } reporter.Report(); }