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

API is borken #151

Open
zhuowenli opened this issue Mar 1, 2021 · 0 comments
Open

API is borken #151

zhuowenli opened this issue Mar 1, 2021 · 0 comments

Comments

@zhuowenli
Copy link

{"level":"error","message":"End - Error:"}
{"errorMessage":"err.toJSON is not a function","errorType":"TypeError","stackTrace":["error (/home/zhuowenli/github-trending-api/src/functions/utils/response.js:22:30)","Object.exports.handler (/home/zhuowenli/github-trending-api/src/functions/repositories.js:15:5)","processTicksAndRejections (internal/process/task_queues.js:97:5)"],"level":"error"}
Response with status 500 in 1093 ms.
 Error during invocation:  {
  errorMessage: 'err.toJSON is not a function',
  errorType: 'TypeError',
  stackTrace: [
    'error (/home/zhuowenli/github-trending-api/src/functions/utils/response.js:22:30)',
    'Object.exports.handler (/home/zhuowenli/github-trending-api/src/functions/repositories.js:15:5)',
    'processTicksAndRejections (internal/process/task_queues.js:97:5)'
  ],
  level: 'error',
  [Symbol(level)]: 'error',
  [Symbol(message)]: '{"errorMessage":"err.toJSON is not a function","errorType":"TypeError","stackTrace":["error (/home/zhuowenli/github-trending-api/src/functions/utils/response.js:22:30)","Object.exports.handler (/home/zhuowenli/github-trending-api/src/functions/repositories.js:15:5)","processTicksAndRejections (internal/process/task_queues.js:97:5)"],"level":"error"}'
}
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