Cron fails entirely when Indigo client is unavailable

Created on 29 July 2025, 2 months ago

Problem/Motivation

The runCron() method in our module is designed to import work expressions from multiple Indigo providers. However, suppose the external Indigo API client is unavailable (e.g., the API endpoint is down, invalid credentials, network issues). In that case, the current implementation throws an exception and catches it — but continues to fail repeatedly, preventing further progress in the cron job. This prevents the processing of the rest of the providers and URIs.

Steps to reproduce

  1. Enable the module with multiple indigo_data_provider entities.
  2. Ensure at least one of them points to an invalid or offline endpoint.
  3. Run the cron.
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania anthelixes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024