looks good I'd just change this to `console.error(e.stack)`