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

Clear up 404 error message #7

Open
wedi opened this issue Nov 30, 2020 · 0 comments
Open

Clear up 404 error message #7

wedi opened this issue Nov 30, 2020 · 0 comments

Comments

@wedi
Copy link

wedi commented Nov 30, 2020

Hi!

Every time I open the Web UI the attached errors get logged. This is probably due to the browser trying to load a favicon but my first impression as a new user is that something serious might have gone wrong.

It would be nice to clean up the 404 log message to look less exciting and include what the actual request was.

postfix-parser_1  | 2020-11-27 17:51:29,931 postfixparser.api WARNING  _handle_error exception type / msg: <class 'quart.exceptions.NotFound'> / NotFound(404)
postfix-parser_1  | 2020-11-27 17:51:29,931 postfixparser.api WARNING  _handle_error traceback: Traceback (most recent call last):
postfix-parser_1  |   File "/root/.local/share/virtualenvs/postfix-parser-WTBDevF-/lib/python3.8/site-packages/quart/app.py", line 1834, in full_dispatch_request
postfix-parser_1  |     result = await self.dispatch_request(request_context)
postfix-parser_1  |   File "/root/.local/share/virtualenvs/postfix-parser-WTBDevF-/lib/python3.8/site-packages/quart/app.py", line 1876, in dispatch_request
postfix-parser_1  |     raise request_.routing_exception
postfix-parser_1  | quart.exceptions.NotFound: NotFound(404)
postfix-parser_1  | 
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

No branches or pull requests

1 participant