Problem/Motivation

Don't process any more results if:
- someone runs cron with no proper authentication,
- proper authentication and API call fails during fetching URL list or writing it to database.

The module shouldn't write invalid data to the counter fields when no proper URL list could be retrieved.

For cron job, throw an \Exception.
For the queue worker, throw a SuspendQueueException.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

kaszarobert created an issue. See original summary.

kaszarobert’s picture

Title: Test out what happens where GA4 API calls fail » Suspend cron job and queue item execution if GA4 API calls fail
Issue summary: View changes

  • kaszarobert authored d5b16d6f on 4.0.x
    Issue #3371288 by kaszarobert: Suspend cron job and queue item execution...
kaszarobert’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.