log errors

This commit is contained in:
Daniel Lugo 2020-02-24 15:08:16 -04:00
parent 9cf80a655a
commit 438c5d09c7

View file

@ -74,7 +74,9 @@ const tryAndWait = async promGen => {
require('../../Mediator/index').getUser()
)
)
} catch (_) {}
} catch (e) {
logger.error(e)
}
logger.info(`\n retrying \n`)
@ -87,7 +89,9 @@ const tryAndWait = async promGen => {
require('../../Mediator/index').getUser()
)
)
} catch (_) {}
} catch (e) {
logger.error(e)
}
logger.info(`\n recreating gun and retrying one last time \n`)