Skip to content

CurrencyEntity type has not been handled gracefully #199

@sanchit-ahuja

Description

@sanchit-ahuja

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions