projects
/
gruntmaster-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
837911b
)
Add an explanation to compile errors
author
Marius Gavrilescu
<marius@ieval.ro>
Thu, 5 Feb 2015 19:52:41 +0000
(21:52 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Thu, 5 Feb 2015 19:52:41 +0000
(21:52 +0200)
lib/Gruntmaster/Daemon/Format.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Daemon/Format.pm
b/lib/Gruntmaster/Daemon/Format.pm
index cca52ed5fc437700b38aa381e61fed7e709d51b4..2b60139327f827366b965b48a4854dc29021518a 100644
(file)
--- 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';
This page took
0.010193 seconds
and
4
git commands to generate.