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

Pagamento: melhora legibilidade da mensagem de erro #233

Merged
merged 1 commit into from
May 16, 2022
Merged

Pagamento: melhora legibilidade da mensagem de erro #233

merged 1 commit into from
May 16, 2022

Conversation

wilfison
Copy link
Contributor

@wilfison wilfison commented May 16, 2022

Ao gerar uma remessa com muitos boletos, percebi que me gerava o erro:

Brcobranca::ValorInvalido, "Deve ser um Float"

Deixando difícil entender qual dos campos de valor do pagamento estava com valor inválido, pensando nisso atualizei a mensagem mostrando o atributo que estava gerando o erro.

A nova mensagem fica assim:

Brcobranca::ValorInvalido, "Pagamento#percentual_multa: deve ser um Float"

@kivanio kivanio merged commit 97cc755 into kivanio:master May 16, 2022
mrbongiolo pushed a commit to mrbongiolo/brcobranca that referenced this pull request Sep 17, 2022
lbarbieri-esl pushed a commit to dnicolau/brcobranca that referenced this pull request Apr 3, 2023
lbarbieri-esl pushed a commit to dnicolau/brcobranca that referenced this pull request Apr 13, 2023
lbarbieri-esl pushed a commit to dnicolau/brcobranca that referenced this pull request May 10, 2023
lbarbieri-esl pushed a commit to dnicolau/brcobranca that referenced this pull request May 30, 2023
lbarbieri-esl pushed a commit to dnicolau/brcobranca that referenced this pull request May 30, 2023
jhenrique-esl pushed a commit to dnicolau/brcobranca that referenced this pull request May 30, 2023
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