瀏覽代碼

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();
 
             xhr.addEventListener("error", function() {
-                debugger;
+                console.log("Issue submit request failed. xhr.status: " + xhr.status);
             });
 
             xhr.addEventListener("load", function() {