summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2021-11-08 13:36:05 -0500
committerGravatar Morph2021-11-08 13:36:05 -0500
commit84934693cf724fcdf352f9154cc328efab8cc129 (patch)
treea799ff10a670977902d9b55c68b9672df2c23fb8
parentservice/pctl: Stub EndFreeCommunication (diff)
downloadyuzu-84934693cf724fcdf352f9154cc328efab8cc129.tar.gz
yuzu-84934693cf724fcdf352f9154cc328efab8cc129.tar.xz
yuzu-84934693cf724fcdf352f9154cc328efab8cc129.zip
ci: Print traceback on patch merge failure
-rw-r--r--.ci/scripts/merge/apply-patches-by-label.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py
index 43ed74d7f..b2e430ac7 100644
--- a/.ci/scripts/merge/apply-patches-by-label.py
+++ b/.ci/scripts/merge/apply-patches-by-label.py
@@ -1,7 +1,7 @@
1# Download all pull requests as patches that match a specific label 1# Download all pull requests as patches that match a specific label
2# Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to> 2# Usage: python download-patches-by-label.py <Label to Match> <Root Path Folder to DL to>
3 3
4import requests, sys, json, urllib3.request, shutil, subprocess, os 4import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback
5 5
6tagline = sys.argv[2] 6tagline = sys.argv[2]
7 7
@@ -33,4 +33,5 @@ try:
33 for i in range(1,30): 33 for i in range(1,30):
34 do_page(i) 34 do_page(i)
35except: 35except:
36 traceback.print_exc(file=sys.stdout)
36 sys.exit(-1) 37 sys.exit(-1)