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

TypeError: Cannot create property 'headers' on boolean 'true' #136

Closed
freezy opened this issue Aug 6, 2018 · 0 comments
Closed

TypeError: Cannot create property 'headers' on boolean 'true' #136

freezy opened this issue Aug 6, 2018 · 0 comments

Comments

@freezy
Copy link
Member

freezy commented Aug 6, 2018

View details in Rollbar: https://rollbar.com/freezy/server/items/7/


TypeError: Cannot create property 'headers' on boolean 'true'
  File "/var/www/server/staging/master-cb6e4b74d2/node_modules/@koa/cors/index.js", line 91, in next.catch.err
            err.headers = Object.assign({}, err.headers, headersSet);
  File "/var/www/server/staging/master-cb6e4b74d2/node_modules/async-listener/index.js", line 502, in Promise.propagateAslWrapper
          nextResult = fn.call(ctx, result);
  File "/var/www/server/staging/master-cb6e4b74d2/node_modules/async-listener/glue.js", line 188, in Promise.__asl_wrapper
          var returned = original.apply(this, arguments);
  File "/var/www/server/staging/master-cb6e4b74d2/node_modules/async-listener/index.js", line 527, in proxyWrapper
              return next.__asl_wrapper(ctx, fn, val, last);
  File "/var/www/server/staging/master-cb6e4b74d2/node_modules/async-listener/index.js", line 539, in <unknown>
              var result = (promise.__asl_wrapper || propagateAslWrapper)(this, fn, val, next);
  File "/var/www/server/staging/master-cb6e4b74d2/node_modules/async-listener/glue.js", line 188, in <unknown>
          var returned = original.apply(this, arguments);
  File "<anonymous>", line unknown, in <unknown>
  File "internal/process/next_tick.js", line 228, in process._tickDomainCallback [as _tickCallback]
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