Fix recording of compile errors
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 8 Feb 2014 18:42:02 +0000 (20:42 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 8 Feb 2014 18:42:02 +0000 (20:42 +0200)
lib/Gruntmaster/Daemon/Format.pm

index 99fe514..5b5081e 100644 (file)
@@ -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 $?
 }
 
This page took 0.026497 seconds and 4 git commands to generate.