mirror of https://github.com/PiyushXCoder/lupt.git
error handle, debug
This commit is contained in:
parent
f539d6819f
commit
6f461ab4e2
|
|
@ -232,7 +232,15 @@
|
|||
<a id="dialog_cancel" class="button">Cancel</a>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.onerror = function(message, source, lineno, colno) {
|
||||
var msg = 'Error: \n';
|
||||
msg += source + '\n';
|
||||
msg += lineno+':' + colno + '\n';
|
||||
msg += message + '\n';
|
||||
alert(msg);
|
||||
}
|
||||
</script>
|
||||
<script src="js/jquery-3.5.1.min.js"></script>
|
||||
<script src="js/compressor.min.js"></script>
|
||||
<script src="js/actions.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue