Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@ryansg.com>2019-12-09 14:51:28 -0500
committerAustin Schaffer <austin.schaffer@ryansg.com>2019-12-12 10:27:09 -0500
commit2fb47cc9930d21a2b7388919c6068fcc9bccd82b (patch)
treec1bf670de43c183dee68726df2f90bfaf862b4b2 /bin
parent84c2601f1c8a0ac97ce6c35b05c913521ba47a89 (diff)
downloadliza-2fb47cc9930d21a2b7388919c6068fcc9bccd82b.tar.gz
liza-2fb47cc9930d21a2b7388919c6068fcc9bccd82b.tar.bz2
liza-2fb47cc9930d21a2b7388919c6068fcc9bccd82b.zip
bin/delta-processor: Provide error to EventMediator
This will log in the same format as the rest of the system.
Diffstat (limited to 'bin')
-rw-r--r--bin/delta-processor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/delta-processor.ts b/bin/delta-processor.ts
index 11af02b..74cc6a1 100644
--- a/bin/delta-processor.ts
+++ b/bin/delta-processor.ts
@@ -98,7 +98,7 @@ getMongoCollection( db, db_conf )
} )
.catch( e =>
{
- log.error( e );
+ emitter.emit( 'error', e );
process.exit( 1 );
} );