diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-05-28 19:01:51 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-07-07 15:36:25 +0200 |
commit | 5950b87dacf07eebbc58beb9a21781a8abc958e4 (patch) | |
tree | 433105d1793c809584a6cc87763b124153644d2c /collections | |
parent | 6edc057451ebade744aa62cca64aa685eb6021ce (diff) |
luci-base: luci.js: make require() failures catcheable
Refactor L.require() to use L.raise() instead of L.error() to signal
class loading failures. This allows callers to handle class loading
errors in a graceful manner.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'collections')
0 files changed, 0 insertions, 0 deletions