Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Environment Addon to Include Hostname in Error Payload #64

Merged
merged 6 commits into from
Nov 14, 2024

Conversation

pavelzotikov
Copy link
Contributor

This PR adds a new Environment addon to the Hawk SDK, which retrieves the server's hostname and includes it in the event payload when an error is logged. This will help in tracking errors with additional server context.

*/
public function getName(): string
{
return 'environment';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return 'environment';
return 'Environment';

@pavelzotikov pavelzotikov merged commit 3718d29 into master Nov 14, 2024
5 checks passed
@pavelzotikov pavelzotikov deleted the feature/add-environment-addon-to-error-payload branch November 14, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants