Sfoglia il codice sorgente

Separating context from error

Source commit: b120d68f08e7f87bb16a07472eba6650598b5ebe
Martin Prikryl 5 anni fa
parent
commit
9242eaf945
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      source/core/Exceptions.cpp

+ 1 - 1
source/core/Exceptions.cpp

@@ -542,6 +542,6 @@ UnicodeString __fastcall AddContextToExceptionMessage(const Exception & E, const
   {
     Context += L"\n" + NewContext;
   }
-  UnicodeString Result = MainInstructions(MainMessage) + Context;
+  UnicodeString Result = MainInstructions(MainMessage) + L"\n" + Context;
   return Result;
 }