summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-11-14 21:27:59 +0300
committereug-vs <eug-vs@keemail.me>2020-11-14 21:35:22 +0300
commit25633772f607a61cbb4a18f34c523d007dbc2c6b (patch)
treebb50ff4394778beff87e4e6d6ade03f455e8483a /src/services
parent61b16a068ac2bb4d8576d9a8aeb0f3f572587eed (diff)
downloadbsu-fantom-25633772f607a61cbb4a18f34c523d007dbc2c6b.tar.gz
feat: use multiple contexts of one browser
Diffstat (limited to 'src/services')
-rw-r--r--src/services/events/event.service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/events/event.service.js b/src/services/events/event.service.js
index 267016f..112990a 100644
--- a/src/services/events/event.service.js
+++ b/src/services/events/event.service.js
@@ -22,7 +22,7 @@ class Events {
// Logs
this.agenda.on('start', job => console.log(`Starting ${job.attrs.name} job`));
this.agenda.on('complete', job => console.log(`Job ${job.attrs.name} finished`));
- this.agenda.on('fail', (job, err) => console.log(`Job failed with the error ${err}`));
+ this.agenda.on('fail', (err, job) => console.log(`Job failed with the error ${err}`));
return this.agenda.start();
};