log errors
This commit is contained in:
parent
9cf80a655a
commit
438c5d09c7
1 changed files with 6 additions and 2 deletions
|
|
@ -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`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue