From 42e80e2d00aa2c6b3a5c7b2ec96473296468bec9 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 8 Feb 2014 20:42:02 +0200 Subject: [PATCH] Fix recording of compile errors --- lib/Gruntmaster/Daemon/Format.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 99fe514..5b5081e 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -72,11 +72,10 @@ sub mkrun{ sub prepare{ my ($name, $format) = @_; - our $errors; get_logger->trace("Preparing file $name..."); - $errors .= `gruntmaster-compile $format $name 2>&1`; - $errors .= "\n"; + $Gruntmaster::Daemon::errors .= `gruntmaster-compile $format $name 2>&1`; + $Gruntmaster::Daemon::errors .= "\n"; die 'Compile error' if $? } -- 2.39.2