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

Lg/fix failure when parsing empty details #28

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

lauragilgz
Copy link
Contributor

When parsing a file coming from sobank we got some sentry errors since the line was empty or the unknwon details had a white space between. Eg. "P A".

We skip adding the details when this are empty and we add an underscore if there is a whitespace

Copy link
Contributor

@joanabertoldi joanabertoldi left a comment

Choose a reason for hiding this comment

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

Lgtm :) I would also update spec/cfonb/operation_spec.rb with these two use cases

Copy link
Contributor

@joanabertoldi joanabertoldi left a comment

Choose a reason for hiding this comment

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

Thanks!

@frantisekrokusek frantisekrokusek merged commit be3411e into master Dec 30, 2024
1 check passed
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.

3 participants