[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] fix: Ignore python exception output in our log



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

  • 04d98be2
    by Joerg Jaspert at 2025-07-13T12:28:13+02:00
    fix: Ignore python exception output in our log
    

1 changed file:

Changes:

  • dak/graph_new.py
    ... ... @@ -228,7 +228,10 @@ def extract_queue_events(
    228 228
                 except ValueError:
    
    229 229
                     continue
    
    230 230
     
    
    231
    -            if event.startswith("Policy Queue "):
    
    231
    +            if event == "exception":
    
    232
    +                # Seem to have logged a python exception, ignore
    
    233
    +                continue
    
    234
    +            elif event.startswith("Policy Queue "):
    
    232 235
                     _, pname = remaining.split("|", 1)
    
    233 236
                 else:
    
    234 237
                     pname = remaining
    


  • Reply to: