Fixed application crash on some errors

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 11 years ago
parent 717659aab3
commit eaf09a7720
  1. 2
      BuildServer/lib/builder.js

@ -16,7 +16,7 @@ var notifyStatus = function (options, callback) {
json: { json: {
state: options.state, state: options.state,
target_url: "https://mbs.pos/status/" + options.owner + "/" + options.reponame + "/" + options.hash, target_url: "https://mbs.pos/status/" + options.owner + "/" + options.reponame + "/" + options.hash,
description: (options.description || "").substr(0, 140) description: ((options.description || "") + "").substr(0, 140)
} }
}, function (err, response, body) { }, function (err, response, body) {
if (err) { if (err) {

Loading…
Cancel
Save