Skip to content

Add status code to failed API send verbose log. #613

@danielmorell

Description

@danielmorell

When an occurrence send fails with an error status code, we should include the status code in the verbose log message.

$this->verboseLogger()->error(
'Occurrence rejected by the API: ' . ($info['message'] ?? 'message not set')
);

This should also be backported to v3.

Metadata

Metadata

Assignees

Labels

Rank: 3 - MinorTackle when there are no actionable Critical or Major requests.Status: 2 - AcceptedThe scope and characteristics of the request are defined and ready to be worked.Type: EnhancementChanges that add to, improve upon, enhance, or extend the existing component.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions