We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9c4eb commit 693cfb5Copy full SHA for 693cfb5
1 file changed
demo/electron/turtle_tf2/renderer.js
@@ -69,8 +69,9 @@ document.addEventListener('DOMContentLoaded', function () {
69
if (loadingScreen) {
70
const loadingText = loadingScreen.querySelector('div:last-child');
71
if (loadingText) {
72
+ const reason = String((err && err.message) || err);
73
loadingText.textContent =
- 'Failed to initialize 3D view (WebGL unavailable): ' + err.message;
74
+ 'Failed to initialize 3D view (WebGL unavailable): ' + reason;
75
loadingText.style.color = '#ff4444';
76
}
77
0 commit comments