Add more error logging and change staging2 domain