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

Allow Builder to specify a default short_message #25

Merged

Conversation

overhacked
Copy link
Contributor

Previously the default short_message was a empty string, which causes Graylog to throw an IllegalArgumentException (see #15). This changes the default message to "no message" and adds a Builder::default_short_message() member function to change the default.

This Pull Request supercedes and closes #15.

Previously the default `short_message` was a empty string, which causes
Graylog to throw an `IllegalArgumentException` (see hlbarber#15). This changes
the default message to `"no message"` and adds a
`Builder::default_short_message()` member function to change the
default.
@overhacked
Copy link
Contributor Author

@hlb8122, would it still be possible to merge this PR, based on your feedback in #15? Thank you!

@hlbarber
Copy link
Owner

@hlb8122, would it still be possible to merge this PR, based on your feedback in #15? Thank you!

Yep will merge and release today. Thanks for your patience.

@hlbarber
Copy link
Owner

hlbarber commented May 20, 2024

Going to change the default to "null", unless you have some strong objections? Bit shorter and conveys the same message.

@hlbarber hlbarber merged commit 045a967 into hlbarber:master May 20, 2024
@overhacked
Copy link
Contributor Author

Going to change the default to "null", unless you have some strong objections? Bit shorter and conveys the same message.

No objection. Thanks!

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