diff --git a/scripts/drone.coffee b/scripts/drone.coffee index 29211ce..34b69f7 100644 --- a/scripts/drone.coffee +++ b/scripts/drone.coffee @@ -23,7 +23,7 @@ module.exports = (robot) -> try report = JSON.parse body catch e - return res.send 'Errore: '+e + return res.send 'Errore: '+e+'\n\nRisposta del server: '+body unless report?.files?.push? and report?.coverage?.toFixed? return res.send 'Errore: informazioni insufficienti' t = '=== Coverage: ' + report.coverage.toFixed(0) + '%'