X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FFormat.pm;h=2b60139327f827366b965b48a4854dc29021518a;hp=cca52ed5fc437700b38aa381e61fed7e709d51b4;hb=36ecc8ea1322839782fce6d8d765f3fe7ab4f575;hpb=837911b376705e31b1affbe5679f92e072d2601e diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index cca52ed..2b60139 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -93,7 +93,8 @@ sub prepare{ try { execlist prog => '--fd=1 >>errors', '--fd=2 >>errors', 'gruntmaster-compile', $format, $name; } catch { - die "Compile error\n" + my $exmsg = $_->[1]; + die "Compile error ($exmsg)\n" } finally { $Gruntmaster::Daemon::errors .= read_file 'errors'; $Gruntmaster::Daemon::errors .= "\n" if -s 'errors';