Просмотр исходного кода

Add dumping of backtrace in case of unhandled exception inside TCustomInstaller.Run method

Pierre Muller 3 лет назад
Родитель
Сommit
5203c3e849
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/fpmkunit/src/fpmkunit.pp

+ 1 - 0
packages/fpmkunit/src/fpmkunit.pp

@@ -5963,6 +5963,7 @@ begin
       begin
       Log(vlError,SErrInstaller);
       Log(vlError,E.Message);
+      DumpExceptionBacktrace(stderr);
       Result:=False;
       end;
   end;