report back initialization failures

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
ゆめ 2024-07-29 19:42:46 -05:00
parent 6b3e33caec
commit c291e07a9a
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -30,3 +30,6 @@ members = [
[profile.release.package.unitdc-web] [profile.release.package.unitdc-web]
opt-level = "s" opt-level = "s"
[profile.release]
lto = true

View file

@ -137,6 +137,13 @@ function App() {
text: '', text: '',
} }
]) ])
}).catch(e => {
addCells([
{
type: 'error',
text: (e as any).toString(),
}
])
}); });
} }