Commit 48b76164 authored by Cage, Gregory's avatar Cage, Gregory
Browse files

Check tool state before attempting to fetch URL for interactive tool

parent ed5b2281
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -322,6 +322,8 @@ class Job:
            return self.url
        timer = max_tries
        while timer > 0:
            if self.get_state().state == WorkState.ERROR:
                raise Exception("Could not fetch URL due to Tool Error.")
            if timer < max_tries:
                time.sleep(1)
            try: