Comply with lint errors

pull/6585/head
rster20002 5 years ago
parent 38c3dab9ba
commit 4ffe983922

@ -106,13 +106,13 @@ function make_dirty(component, i) {
} }
export function attach_error_handler(component, fn) { export function attach_error_handler(component, fn) {
return () => { return (...rest) => {
try { try {
fn.call(this, ...arguments); fn.call(this, ...rest);
} catch (e) { } catch (e) {
handle_error(component, e); handle_error(component, e);
} }
} };
} }
export function handle_error(component, e) { export function handle_error(component, e) {

Loading…
Cancel
Save