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>
parent
f141433f
Please register or sign in to comment