Update state.py

altering to track pipeline issues.