2019-08-27 19:09:37 app log_exception ERROR Exception on /category/get/clearbit/domain [GET]
Traceback (most recent call last):
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/rj/projects/category_search/rest_api/category_controller.py", line 954, in get_clearbit_domain
name, domain, logo = cbu.get_domains(brand_name_part)
NameError: name 'brand_name_part' is not defined
2019-08-27 19:09:37 _internal _log INFO 127.0.0.1 - - [27/Aug/2019 19:09:37] "GET /category/get/clearbit/domain?key=one HTTP/1.1" 500 -