Flesh out users OU (works with Gitea simple LDAP now!!)
This commit is contained in:
5
index.js
5
index.js
@@ -15,8 +15,9 @@ const units = require('./Units.flitter')
|
||||
* the initialization function that chains together the individual units. This
|
||||
* is why we pass it the units.
|
||||
*/
|
||||
const FlitterApp = require('libflitter/app/FlitterApp')
|
||||
const { FlitterApp, RunLevelErrorHandler } = require('libflitter')
|
||||
const flitter = new FlitterApp(units)
|
||||
const rleh = new RunLevelErrorHandler()
|
||||
|
||||
/*
|
||||
* Launch the server.
|
||||
@@ -24,4 +25,4 @@ const flitter = new FlitterApp(units)
|
||||
* This calls the first unit in the unit chain. This chain ends with the Flitter
|
||||
* server component which launches the Node HTTP server.
|
||||
*/
|
||||
flitter.run()
|
||||
flitter.run().catch(rleh.handle)
|
||||
|
||||
Reference in New Issue
Block a user