浏览代码

Use console.log instead of breakpoint

Andrew Patton 10 年之前
父节点
当前提交
71cefc95ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/js/app.js

+ 1 - 1
public/js/app.js

@@ -675,7 +675,7 @@ function initIssue() {
             var xhr = new XMLHttpRequest();
             var xhr = new XMLHttpRequest();
 
 
             xhr.addEventListener("error", function() {
             xhr.addEventListener("error", function() {
-                debugger;
+                console.log("Issue submit request failed. xhr.status: " + xhr.status);
             });
             });
 
 
             xhr.addEventListener("load", function() {
             xhr.addEventListener("load", function() {