Преглед изворни кода

Separating context from error

Source commit: b120d68f08e7f87bb16a07472eba6650598b5ebe
Martin Prikryl пре 5 година
родитељ
комит
9242eaf945
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
 }