logger.info('Remote account %s updated', this.actorObject.url)
} catch (err) {
if (this.actor !== undefined) {
- resetSequelizeInstance(this.actor)
+ await resetSequelizeInstance(this.actor)
}
if (this.accountOrChannel !== undefined) {
- resetSequelizeInstance(this.accountOrChannel)
+ await resetSequelizeInstance(this.accountOrChannel)
}
// This is just a debug because we will retry the insert