Invalid state

See inline comments/questions.
This will get emitted and picked up by our logs rather than the uncaught exception. This should be enough metadata to help figure out why this happens...