Problem/Motivation

The issue is that when an item fails, you have two places to gather the information on the problem. First, you can check salesforce_push_queue table, then the watchdog. By the time you arrive to check the issue, watchdog is perhaps purged. There's backup for sure, but it's getting more and more troublesome.

Proposed resolution

If we'd store the last failure message for the push queue, it would be evident why a single item failed.

API changes

N/A

Data model changes

A new column would be added to salesforce_push_queue table.

Issue fork salesforce-3312317

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Aron Novak created an issue. See original summary.

aron novak’s picture

Status: Active » Needs review

  • AaronBauman committed ba200b9 on 5.0.x
    Issue #3312317 by Aron Novak: Better debuggability of push failures
    
aaronbauman’s picture

Status: Needs review » Fixed

Simple and effective, lgtm. thanks for the patch!

Status: Fixed » Closed (fixed)

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