You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.
A very rare occurrence, from the trigger function's logs:
2017-10-05T20:35:40.161Z bfa880b4-aa0c-11e7-b661-3b257937c083
{
"errorMessage": "Unexpected token < in JSON at position 0 in \"https://api.github.com/app\": \n<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-type\" content=\"...",
"errorType": "ParseError",
"stackTrace": [
"<!DOCTYPE html>",
"<html>",
" <head>",
" <meta http-equiv=\"Content-type\" content=\"...",
"stream.catch.then.e (/var/task/node_modules/got/index.js:118:14)",
"process._tickDomainCallback (internal/process/next_tick.js:135:7)"
]
}
The error occurred somewhere in this bit of code, which involves getting a github token, and then checking for buildspec.yml and/or .stork.json in the repository.
Next steps
why does this stack trace suck so hard?
where can we catch this parse error so we can either surface the github api error or retry the request?
A very rare occurrence, from the trigger function's logs:
The error occurred somewhere in this bit of code, which involves getting a github token, and then checking for
buildspec.yml
and/or.stork.json
in the repository.Next steps
cc @kellyoung
The text was updated successfully, but these errors were encountered: