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

handle product error exceptions better and check the errors in the tests #1632

Open
gyorb opened this issue Jun 7, 2018 · 0 comments
Open
Labels
bug 🐛 test ☑️ Adding or refactoring tests

Comments

@gyorb
Copy link
Contributor

gyorb commented Jun 7, 2018

During the running of the tests I got these errors, they should be handled better and check why they happened.

19:13:03   File "libcodechecker/server/server.py", line 355, in do_POST
19:13:03     self.__check_prod_db(product)
19:13:03   File "libcodechecker/server/server.py", line 298, in __check_prod_db
19:13:03     raise ValueError(error_msg)
19:13:03 ValueError: 'producttest' database connection failed!
19:13:00 [ERROR 2018-06-07 19:13] - The product None does not exists
19:13:00 [ERROR 2018-06-07 19:13] - The product None does not exists
19:13:00 Traceback (most recent call last):
19:13:00   File "libcodechecker/server/server.py", line 355, in do_POST
19:13:00     self.__check_prod_db(product)
19:13:00   File "libcodechecker/server/server.py", line 270, in __check_prod_db
19:13:00     raise ValueError(error_msg)
19:13:00 ValueError: The product None does not exists
@gyorb gyorb added the bug 🐛 label Jun 7, 2018
@whisperity whisperity added the test ☑️ Adding or refactoring tests label Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 test ☑️ Adding or refactoring tests
Projects
None yet
Development

No branches or pull requests

2 participants