manage tfs errors