提交 285a508b 编写于 作者: K Kohsuke Kawaguchi

improve the error handling

上级 4942f66a
......@@ -1970,6 +1970,11 @@ var downloadService = {
id = data.id;
}
var o = this.continuations[id];
if (o==undefined) {
console.log("Submission from update center that we don't know: "+id);
console.log("Likely mismatch between the registered ID vs ID in JSON");
return;
}
// send the payload back in the body. We used to send this in as a form submission, but that hits the form size check in Jetty.
new Ajax.Request(o.postBack, {
contentType:"application/json",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册