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

[items] Fix error handling for quantityState #243

Merged
merged 6 commits into from
Feb 19, 2023

Conversation

florian-h05
Copy link
Contributor

HistoricItem creation failed for Items that were not Quantity-compatible because the catch mechanism for QuantityError had a design issue.

Signed-off-by: Florian Hotze florianh_dev@icloud.com

I have verified that this fix is working.

HistoricItem creation failed for Items that were not
Quantity-compatible because the catch mechanism for QuantityError had
a design issue.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05 florian-h05 added the bug Something isn't working label Feb 14, 2023
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@florian-h05 florian-h05 added this to the to be released milestone Feb 14, 2023
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
@stefan-hoehn
Copy link
Contributor

I checked the fix and it is working correctly for me. The error has gone away.

@florian-h05
Copy link
Contributor Author

@digitaldan Can you please review and merge? The other PR as well, they are both relatively short.

Copy link
Contributor

@digitaldan digitaldan left a comment

Choose a reason for hiding this comment

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

I just had one comment about the debug messages, I personally would error on being silent, unless its something like a depreciation warning which requires user intervention (and would be removed eventually)

Other then that , LGTM

items/item-history.js Outdated Show resolved Hide resolved
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants