docs: function tryWrapper(handler) {
      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
          args[_key - 1] = arguments[_key];
      }
  
      try {
          handler.apply(undefined, args);
      } catch (err) {
          console.error("handler received an error: " + err.message + ", " + JSON.stringify(err));
      }
  }