mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 02:41:49 -05:00
ci: Print traceback on patch merge failure
This commit is contained in:
parent
ced1302975
commit
84934693cf
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Download all pull requests as patches that match a specific label
|
# Download all pull requests as patches that match a specific label
|
||||||
# Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to>
|
# Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to>
|
||||||
|
|
||||||
import requests, sys, json, urllib3.request, shutil, subprocess, os
|
import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback
|
||||||
|
|
||||||
tagline = sys.argv[2]
|
tagline = sys.argv[2]
|
||||||
|
|
||||||
|
@ -33,4 +33,5 @@ try:
|
||||||
for i in range(1,30):
|
for i in range(1,30):
|
||||||
do_page(i)
|
do_page(i)
|
||||||
except:
|
except:
|
||||||
|
traceback.print_exc(file=sys.stdout)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
Loading…
Reference in a new issue