track server errors