fixup! Fix bad error code handling

master
LEdoian 10 months ago
parent e81844b6a6
commit 341186773a

@ -7,7 +7,7 @@ from datetime import datetime
from dataclasses import dataclass
from collections import defaultdict
from pathlib import Path
import sys
import traceback
api_url = r'https://review.video.fosdem.org/api/v1/event/1/overview'
poll_rate = 10*60 # seconds
@ -56,7 +56,7 @@ def main():
ts.jobstates |= jobstates.keys()
except RuntimeError as e:
print('Could not get/save data.')
sys.print_exc()
traceback.print_exc()
# Save the pickle
# Should probably save elsewhere and do atomic rename, but whatever.

Loading…
Cancel
Save