mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[ts][player] Better error message serialization.
This commit is contained in:
parent
938a8c8369
commit
69647313ef
@ -12129,7 +12129,7 @@ var spine;
|
||||
skeletonData = json.readSkeletonData(jsonText);
|
||||
}
|
||||
catch (e) {
|
||||
this.showError("Error: could not load skeleton .json.<br><br>" + escapeHtml(JSON.stringify(e)));
|
||||
this.showError("Error: could not load skeleton .json.<br><br>" + e.toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -12140,7 +12140,7 @@ var spine;
|
||||
skeletonData = binary.readSkeletonData(binaryData);
|
||||
}
|
||||
catch (e) {
|
||||
this.showError("Error: could not load skeleton .skel.<br><br>" + escapeHtml(JSON.stringify(e)));
|
||||
this.showError("Error: could not load skeleton .skel.<br><br>" + e.toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -11440,7 +11440,7 @@ var spine;
|
||||
skeletonData = json.readSkeletonData(jsonText);
|
||||
}
|
||||
catch (e) {
|
||||
this.showError("Error: could not load skeleton .json.<br><br>" + escapeHtml(JSON.stringify(e)));
|
||||
this.showError("Error: could not load skeleton .json.<br><br>" + e.toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -11451,7 +11451,7 @@ var spine;
|
||||
skeletonData = binary.readSkeletonData(binaryData);
|
||||
}
|
||||
catch (e) {
|
||||
this.showError("Error: could not load skeleton .skel.<br><br>" + escapeHtml(JSON.stringify(e)));
|
||||
this.showError("Error: could not load skeleton .skel.<br><br>" + e.toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -867,7 +867,7 @@ module spine {
|
||||
try {
|
||||
skeletonData = json.readSkeletonData(jsonText);
|
||||
} catch (e) {
|
||||
this.showError("Error: could not load skeleton .json.<br><br>" + escapeHtml(JSON.stringify(e)));
|
||||
this.showError("Error: could not load skeleton .json.<br><br>" + e.toString());
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
@ -876,7 +876,7 @@ module spine {
|
||||
try {
|
||||
skeletonData = binary.readSkeletonData(binaryData);
|
||||
} catch (e) {
|
||||
this.showError("Error: could not load skeleton .skel.<br><br>" + escapeHtml(JSON.stringify(e)));
|
||||
this.showError("Error: could not load skeleton .skel.<br><br>" + e.toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user