Skip to content

Commit

Permalink
msg
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed May 20, 2024
1 parent 7013dd2 commit 800b490
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/download_wx.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@

response = requests.get('https://api.github.com/repos/NREL/lk/actions/artifacts', headers=headers)
r = response.json()
if 'bad' in r['message']:
raise RuntimeError(r)
if 'message' in r.keys():
print(r)
raise RuntimeError(r['message'])

artifacts = r['artifacts']

Expand Down

0 comments on commit 800b490

Please sign in to comment.