Fixed error logging

Made it a warning when no xero api key is included as integration with Xero is not necessarily mandatory.