diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-09-11 09:28:21 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-11 12:21:05 +0200 |
commit | c3ddcbb542d99c4284981015fcaa429c7d474391 (patch) | |
tree | 8e7366b59ee5fadd6c9d19b416a80a6d9eb1481a /contrib | |
parent | f141433f5e38153e9dfbb8b320dfa70db1a47cf2 (diff) |
luci-base: luci.js: rework error handling
- Capture stack trace in L.raise() if passed type is not an Error instance
- Use L.ui.addNotification in L.error() to render the error message
- Prevent duplicate error reporting in the ui
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions