Browse Source

Also send errors to console.error

Joel Martin 15 years ago
parent
commit
0166284a64
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wstest.html

+ 1 - 0
wstest.html

@@ -43,6 +43,7 @@
     <script>
     <script>
 
 
         function error(str) {
         function error(str) {
+            console.error(str);
             cell = $('error');
             cell = $('error');
             cell.innerHTML += errors + ": " + str + "\n";
             cell.innerHTML += errors + ": " + str + "\n";
             cell.scrollTop = cell.scrollHeight;
             cell.scrollTop = cell.scrollHeight;