소스 검색

Trying to put the error in the popup

tags/v0.7.0
Fen Dweller 8 년 전
부모
커밋
b7805f12e3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      game.js

+ 1
- 1
game.js 파일 보기

@@ -14,7 +14,7 @@ window.onerror = function(msg, source, lineno, colno, error) {
if (!errored) {
errored = true;

alert("An error occurred! Please press F12 to open the dev tools, then click the 'Console' tab and send any errors shown there to chemicalcrux\n\nScreenshotting the text and line number of the error would be great.\n\nAlso include the browser information that gets logged below it.");
alert("An error occurred! Please press F12 to open the dev tools, then click the 'Console' tab and send any errors shown there to chemicalcrux\n\nScreenshotting the text and line number of the error would be great.\n\nAlso include the browser information that gets logged below it.\n\nThe error might also show up here: " + msg + " at " + lineno + "," + colno);

console.log(navigator.userAgent);
}


불러오는 중...
취소
저장