Explorar o código

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

Pierre Muller %!s(int64=3) %!d(string=hai) anos
pai
achega
5203c3e849
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;