Skip to content

Commit

Permalink
Clean up some debug code (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Jun 29, 2020
1 parent 7028cd9 commit 8b1a86f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/hooks/sdtdLogs/LoggingObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ class LoggingObject extends EventEmitter {
return
}

await this.setLastLogLine();
await this.addFetchJob("completedHandler");
this.lastLogLine += result.logs.length;
await this.addFetchJob();
}

async destroy() {
Expand Down Expand Up @@ -214,7 +214,7 @@ class LoggingObject extends EventEmitter {
await sails.helpers.meta.setServerInactive(this.serverId);
}
}
await this.addFetchJob("failedHandler");
await this.addFetchJob();
}
}

Expand Down

0 comments on commit 8b1a86f

Please sign in to comment.