Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/logbook/handlers.py", line 216, in handle

self.emit(record)


 "/usr/local/lib/python3.6/site-packages/dbt/logger.py", line 461, in emit

'too many messages received before initilization!'
AssertionError: too many messages received before initilization!

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/sanic/app.py", line 791, in handle_request

request, response


 "/usr/local/lib/python3.6/site-packages/spf/framework.py", line 543, in _run_response_middleware

_response = await _response


 "/usr/local/lib/python3.6/site-packages/sanic_cors/extension.py", line 266, in unapplied_cors_response_middleware

set_cors_headers(req, resp, context, res_options)


 "/usr/local/lib/python3.6/site-packages/sanic_cors/core.py", line 248, in set_cors_headers

if resp.headers is None:
AttributeError: 'str' object has no attribute 'headers'
