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

CurrencyEntity type has not been handled gracefully #199

Open
sanchit-ahuja opened this issue Jun 23, 2023 · 0 comments
Open

CurrencyEntity type has not been handled gracefully #199

sanchit-ahuja opened this issue Jun 23, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sanchit-ahuja
Copy link
Contributor

sanchit-ahuja commented Jun 23, 2023

Describe the bug
A clear and concise description of what the bug is.
Please refer to this sentry issue for more info.

The CurrencyEntity type in dialogy has not been handled properly. We receive a KeyError when we try to access the value key because of the presence of interval keys in the object (to and from). We need to gracefully handle these kind of types.
To Reproduce
Steps to reproduce the behavior:

  1. Run '...'
  2. ...
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS, Ubuntu, Arch]
  • Python version [e.g. 3.8, 3.9]

Additional context
Add any other context about the problem here.

@sanchit-ahuja sanchit-ahuja added the bug Something isn't working label Jun 23, 2023
@sanchit-ahuja sanchit-ahuja self-assigned this Jun 23, 2023
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

No branches or pull requests

1 participant