Added .catch to custom event emitter