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

[freeboxos] Enhance log warning when handling channel command fails #17201

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

lolodomo
Copy link
Contributor

@lolodomo lolodomo commented Aug 3, 2024

Signed-off-by: Laurent Garnier lg.hc@free.fr

@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Aug 3, 2024
@lolodomo lolodomo requested a review from clinique as a code owner August 3, 2024 08:51
@lolodomo
Copy link
Contributor Author

lolodomo commented Aug 3, 2024

I will try to also log what permission is missing.

@lolodomo lolodomo marked this pull request as draft August 3, 2024 11:43
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@lolodomo
Copy link
Contributor Author

lolodomo commented Aug 4, 2024

Ready again for review.

@lolodomo lolodomo marked this pull request as ready for review August 4, 2024 08:22
Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

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

LGTM

@lolodomo lolodomo added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Aug 4, 2024
@lolodomo lolodomo marked this pull request as draft August 4, 2024 10:25
@lolodomo
Copy link
Contributor Author

lolodomo commented Aug 4, 2024

I will rather use the error code to trigger PermissionException.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@lolodomo lolodomo marked this pull request as ready for review August 4, 2024 16:55
@lolodomo
Copy link
Contributor Author

lolodomo commented Aug 4, 2024

@clinique : last change applied

@lolodomo
Copy link
Contributor Author

lolodomo commented Aug 8, 2024

@jlaur or @lsiepel : can you please have a look?

@jlaur jlaur added rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Aug 13, 2024
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM.

@jlaur jlaur merged commit 8dfb10e into openhab:main Aug 13, 2024
4 of 5 checks passed
@jlaur jlaur added this to the 4.3 milestone Aug 13, 2024
@lolodomo lolodomo deleted the freeboxos_log_handling_cmd branch August 13, 2024 20:37
digitaldan pushed a commit to digitaldan/openhab-addons that referenced this pull request Aug 29, 2024
…penhab#17201)

* Throw PermissionException based on error code

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
…penhab#17201)

* Throw PermissionException based on error code

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
…penhab#17201)

* Throw PermissionException based on error code

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
…penhab#17201)

* Throw PermissionException based on error code

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants