Remove unwanted wrapper name stuttering and standardise common error returns (#213)

This commit is contained in:
Ryan O'Hara-Reid
2018-11-23 12:55:00 +11:00
committed by Adrian Gallagher
parent c41f611d96
commit 92534249bf
154 changed files with 1362 additions and 1367 deletions

View File

@@ -270,7 +270,7 @@ func GetAllEnabledExchangeAccountInfo() AllEnabledExchangeAccounts {
log.Printf("GetAllEnabledExchangeAccountInfo: Skippping %s due to disabled authenticated API support.", individualBot.GetName())
continue
}
individualExchange, err := individualBot.GetExchangeAccountInfo()
individualExchange, err := individualBot.GetAccountInfo()
if err != nil {
log.Printf("Error encountered retrieving exchange account info for %s. Error %s",
individualBot.GetName(), err)