YouEclipse / steam-box

🎮 Update profile README / pinned gist to contain your Steam playtime leaderboard. 在你的 profile README / pinned gist 上显示你的 steam 游玩时间排行榜。
Apache License 2.0
163 stars 138 forks source link

Getting an HTTP 500 during the action #7

Closed simonSlamka closed 3 years ago

simonSlamka commented 3 years ago

Hello,

I'm getting a 500 response while the action is running, so it doesn't update my readme. Here is the output:

Run ./steam
  ./steam
  git config --global user.email "bot@github.com" && git config --global user.name "Steam-Bot"
  git diff
  git add README.md && git commit -m ":memo: update profile" || exit 0
  git pull && git push
  shell: /usr/bin/bash -e {0}
  env:
    GH_TOKEN: ***
    STEAM_API_KEY: ***
    STEAM_ID: ***
    UPDATE_OPTION: MARKDOWN
    MARKDOWN_FILE: README.md
    GOROOT: /opt/hostedtoolcache/go/1.16.5/x64
panic: GetPlayTime err:response code expects 200, but got 500, response body <html>
<head>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>Internal Server Error</h1>
</body>
</html>

goroutine 1 [running]:
main.main()
    /home/runner/work/simonSlamka/simonSlamka/steam-box/cmd/box/main.go:73 +0xf91
Error: Process completed with exit code 2.