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

prevent npe during multipart exception handling #1721

Merged
merged 1 commit into from
May 22, 2024

Conversation

mwiesenbauer
Copy link
Contributor

No description provided.

Copy link

@hawkbit-bot hawkbit-bot left a comment

Choose a reason for hiding this comment

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

Thanks @mwiesenbauer for taking the time to contribute to hawkBit! We really appreciate this. Make yourself comfortable while I'm looking for a committer to help you with your contribution.
Please make sure you read the contribution guide and signed the Eclipse Contributor Agreement (ECA).

@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@avgustinmm
Copy link
Contributor

Adding a handling of null is OK but the code changes the behavior. Up until now, logging has occurred only when the message was empty - now - when not empty.
So, it shall be checked carefully for the exact targeted behavior - if it shall be ObjectUtils.isEmpty or StringUtils.hasLength

@mwiesenbauer
Copy link
Contributor Author

You are right. Changing the behaviour was not my intention.

Signed-off-by: Michael Wiesenbauer <michael.wiesenbauer@setago.io>
@strailov strailov merged commit e69c1de into eclipse:master May 22, 2024
2 checks passed
@avgustinmm avgustinmm added this to the 0.6.0 milestone May 29, 2024
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.

None yet

4 participants