Get rid of some anys.

This commit is contained in:
baldo 2022-07-28 13:49:22 +02:00
parent 5592892f0d
commit d783bb634f
6 changed files with 53 additions and 76 deletions
server/jobs

View file

@ -85,7 +85,7 @@ export class Task {
this.job.run().then(result => {
done(TaskState.IDLE, result);
}).catch((err: any) => {
}).catch(err => {
Logger.tag('jobs').error("Job %s failed: %s", this.name, err);
done(TaskState.FAILED, null);
});