Unverified Commit 2d2de825 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

exit with code 1 if errors occurred


Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent bf2fb3d4
......@@ -84,7 +84,9 @@ object App extends scala.App with Logging {
}
}
} catch {
case e: Exception => logger.error(e)
case e: Exception =>
logger.error(e)
sys.exit(1)
} finally {
logger.info("Shutting down application")
consumer.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment