Added logging of params in XeroController in case of error