Commit 1f11d3da authored by yann300's avatar yann300

add log when provider is initiated

parent d8ec51ad
......@@ -9,7 +9,11 @@ const log = require('./utils/logs.js')
class Server {
constructor (options) {
this.provider = new Provider(options)
this.provider.init()
this.provider.init().then(() => {
log('Provider initiated')
}).catch((error) => {
log(error)
})
}
start (host, port) {
......
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