mirror of
https://github.com/eternal-flame-AD/unitdc-rs.git
synced 2024-11-27 21:06:43 -06:00
report back initialization failures
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
6b3e33caec
commit
c291e07a9a
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -137,6 +137,13 @@ function App() {
|
||||||
text: '',
|
text: '',
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
}).catch(e => {
|
||||||
|
addCells([
|
||||||
|
{
|
||||||
|
type: 'error',
|
||||||
|
text: (e as any).toString(),
|
||||||
|
}
|
||||||
|
])
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue