Problem/Motivation

The logger receives the actual exception message, but WebformGoogleSheetsErrorEvent receives only a generic message. Event subscribers cannot inspect the real failure reason.

Proposed resolution

Pass $e->getMessage() or the captured $error into WebformGoogleSheetsErrorEvent.

Remaining tasks

  • Error event contains the same meaningful error message as the log.
  • No event name changes.
  • Existing getErrorMessage() remains compatible.
  • Add/adjust test coverage.
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

elaman created an issue. See original summary.

elaman’s picture

Assigned: elaman » Unassigned
Issue summary: View changes
Status: Active » Needs review
elaman’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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