mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 10:40:12 +00:00
test
This commit is contained in:
parent
52e87805e0
commit
10cef41d25
2 changed files with 5 additions and 1 deletions
|
|
@ -64,6 +64,7 @@ def report_status(name, start_time, exit=None):
|
|||
response_code = e.getcode()
|
||||
response_data = e.read()
|
||||
print(f"{response_code} failed to update status {name}: {response_data}")
|
||||
global global_fail
|
||||
global_fail = True
|
||||
|
||||
def run_job(data):
|
||||
|
|
@ -96,6 +97,7 @@ def main():
|
|||
print("job failed!")
|
||||
traceback.format_exc()
|
||||
|
||||
global global_fail
|
||||
if global_fail:
|
||||
ok = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue