kalisio / krawler

A minimalist (geospatial) ETL
https://kalisio.github.io/krawler/
MIT License
54 stars 13 forks source link

Job without tasks exit as failing #214

Closed claustres closed 2 years ago

claustres commented 2 years ago

Steps to reproduce

Run a job generating 0 tasks for the first time.

Expected behavior

The job should run and the process exit as 0.

Actual behavior

The job runs but the process exits as 1 with the following error message: [ALERT] Job : Cannot read properties of null (reading 'toFixed')

System configuration

Tell us about the applicable parts of your setup.

Module versions : v2.0.0

NodeJS version: 16