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

Show invalid parser as error in the logger #495

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Conversation

bosd
Copy link
Collaborator

@bosd bosd commented Mar 14, 2023

Change logger levels.

  1. In case an template specifies no or an invalid parser show it in the logger.

(This is usefull when someone wants to commit an template, pytest on hg actions will show the error).
The user will then be aware that the template needs fixing.

  1. In case an invoice file does not return a value, only show a warning.
    In Example coolblue #428 is a template which support multiple invoice layouts. In some cases the website field is not matched. This is intentional. This should only show as a warning in the logger. This is not an error that needs immediate fixing.

@bosd bosd merged commit c842025 into invoice-x:master Mar 30, 2023
@bosd bosd deleted the parser-error branch March 30, 2023 21:40
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.

1 participant