mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
build: print error and retry on symstore fail (#41452)
This commit is contained in:
@@ -80,8 +80,14 @@ def main():
|
||||
|
||||
|
||||
def run_symstore(pdb, dest, product):
|
||||
execute(['symstore', 'add', '/r', '/f', pdb, '/s', dest, '/t', product])
|
||||
|
||||
for attempt in range(2):
|
||||
try:
|
||||
execute(['symstore', 'add', '/r', '/f', pdb, '/s', dest, '/t', product])
|
||||
break
|
||||
except Exception as e:
|
||||
print(f"An error occurred while adding '{pdb}' to SymStore: {str(e)}")
|
||||
if attempt == 0:
|
||||
print("Retrying...")
|
||||
|
||||
def upload_symbols(files):
|
||||
store_artifact(SYMBOLS_DIR, 'symbols',
|
||||
|
||||
Reference in New Issue
Block a user