From 1f11d3da496901945d5f1131312c188e2dd618f3 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 4 Sep 2019 12:24:16 +0200 Subject: [PATCH] add log when provider is initiated --- remix-simulator/src/server.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/remix-simulator/src/server.js b/remix-simulator/src/server.js index b48fc70ab7..92bb43aad9 100644 --- a/remix-simulator/src/server.js +++ b/remix-simulator/src/server.js @@ -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) {