Change WorkState.ERROR to WorkState.FAILED
Change WorkState.ERROR to WorkState.FAILED

WorkState.ERROR is not defined in the WorkState enum

guidow/pyfarm-agent,guidow/pyfarm-agent,pyfarm/pyfarm-agent,guidow/pyfarm-agent,pyfarm/pyfarm-agent,pyfarm/pyfarm-agent