diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-04-01 15:30:42 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 15:25:49 +0200 |
commit | 5b7924c8087b93037ae20e03f35bd0c7e9e06a05 (patch) | |
tree | 82ecd94ab3e77e63c48b051890be54cd970786e3 /protocols | |
parent | fda4ba598c0ba1c06f5de43554b40cf0d415d047 (diff) |
luci-base: luci.js: tweak error handling
If the ui class is loaded, use its modalDialog facility to display runtime
errors, alternatively render them into the maincontent area.
Also prevent duplication of stack trace information and throw a low level
error on session expiration to allow higher layers to properly handle it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions