It "looks" like ts is set to something on success, and not modified on error. Checked on IRC with: cem