Skip to content

API is borken #151

@zhuowenli

Description

@zhuowenli
{"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"}'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions