projects
/
gruntmaster-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
69ea935
)
Do not crash on compile errors
author
Marius Gavrilescu
<marius@ieval.ro>
Tue, 6 May 2014 17:30:09 +0000
(20:30 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Tue, 6 May 2014 17:32:12 +0000
(20:32 +0300)
lib/Gruntmaster/Daemon.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Daemon.pm
b/lib/Gruntmaster/Daemon.pm
index 4c3d49294d6c1ff8b109b1500688673c24230e4d..b7b6e0616a5192b7076412bed2c54f17da547d53 100644
(file)
--- a/
lib/Gruntmaster/Daemon.pm
+++ b/
lib/Gruntmaster/Daemon.pm
@@
-140,7
+140,7
@@
sub process{
$jobr->update({
result => $meta->{result},
result_text => $meta->{result_text},
-
results => encode_json $meta->{results}
,
+
($meta->{results} ? (results => encode_json $meta->{results}) : ())
,
$errors ? (errors => $errors) : ()
});
This page took
0.010152 seconds
and
4
git commands to generate.