소스 검색

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;
 }