浏览代码

Separating context from error

(cherry picked from commit 9242eaf945f05842380346bae73ed54bd7a121cc)

Source commit: b417695ed3aecd7d7383e4308a3ea4ace54ba10c
Martin Prikryl 5 年之前
父节点
当前提交
55609e080c
共有 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;
 }