Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/EventMediator.ts')
-rw-r--r--src/system/EventMediator.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/system/EventMediator.ts b/src/system/EventMediator.ts
index cd5b703..b95536c 100644
--- a/src/system/EventMediator.ts
+++ b/src/system/EventMediator.ts
@@ -48,7 +48,7 @@ export class EventMediator
msg
) );
- this._emitter.on( 'amqp-conn-error', ( msg ) =>
+ this._emitter.on( 'amqp-conn-warn', ( msg ) =>
this._log.warning( 'AMQP Connection Error', msg ) );
this._emitter.on( 'amqp-reconnect', () =>
@@ -68,6 +68,11 @@ export class EventMediator
}
+ /**
+ * Handle an error event
+ *
+ * @param e - any
+ */
private _handleError( e: any ): void
{
let msg: string = '';