mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 23:36:37 +00:00
fhemweb.js: add filename to error message (Forum #64541)
git-svn-id: https://svn.fhem.de/fhem/trunk@13034 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e1d9dd8726
commit
f4c4508658
@ -34,7 +34,8 @@ window.onbeforeunload = function(e)
|
||||
|
||||
window.onerror = function(errMsg, url, lineno)
|
||||
{
|
||||
FW_okDialog(lineno+": "+errMsg);
|
||||
url = url.replace(/.*\//,'');
|
||||
FW_okDialog(url+" line "+lineno+":<br>"+errMsg);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user