mirror of
https://github.com/eternal-flame-AD/unitdc-rs.git
synced 2024-10-29 16:07:07 -05: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