Verified Commit 7408273d authored by Grégor JOUET's avatar Grégor JOUET 🔧
Browse files

Catch error on printer refresh

parent accaa053
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -874,7 +874,10 @@ def update_printer(p):
def update_printers():
    log.info("Refreshing printers")
    for p in get_printers():
        try:
            update_printer(p)
        except:
            traceback.print_exc()

def recurrent_printer_update():
    while True: