StateManager exception isn't being detected, output to console as well