Fixes bad logging on failed submit