mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 17:49:27 +02:00
fpmkunit: on compilation failure show the actual compiler output, and don't just swallow the exception and raise a new one with precisely no helpful info
git-svn-id: trunk@34396 -
This commit is contained in:
parent
f64556c125
commit
57042351e5
@ -6763,7 +6763,11 @@ Var
|
||||
try
|
||||
Compile(APackage,APackage.FBUTarget);
|
||||
except
|
||||
Compilationfailed:=true;
|
||||
on E: Exception do
|
||||
begin
|
||||
Log(vlError,E.Message);
|
||||
Compilationfailed:=true;
|
||||
end;
|
||||
end;
|
||||
finally
|
||||
if CompilationFailed then
|
||||
|
Loading…
Reference in New Issue
Block a user