Преглед на файлове

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() {