mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-22 19:01:51 +08:00
change exception name
This commit is contained in:
parent
f46fc7a22d
commit
3e32dbdb57
@ -23,7 +23,7 @@ class Loader{
|
||||
var parsed = JSON.parse(resp)
|
||||
versionLink.setAttribute("href", "https://github.com/bui/taiko-web/commit/" + parsed.commit)
|
||||
versionLink.appendChild(document.createTextNode("taiko-web ver." + parsed.version + " (" + parsed.commit_short + ")"))
|
||||
} catch(SyntaxError) {
|
||||
} catch(e) {
|
||||
versionLink.setAttribute("href", "https://github.com/bui/taiko-web")
|
||||
versionLink.appendChild(document.createTextNode("taiko-web (unknown version)"))
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user