Verified Commit 09532b32 authored by Grégor JOUET's avatar Grégor JOUET 🔧
Browse files

[API] Make exception instead of returning

parent 509c377d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -514,7 +514,7 @@ class OctoPrinter(PrinterBase):
                i+=1
                if i == 3:
                    self.log("[-] Cannot start print")
                    return
                    raise Exception("Cannot start Print")
                

        self.printer_obj.current_print = print_obj