Adding global backend error to text file