switched to using the consoleAdapter for output.
Check structure of error object to make sure it's an array and if not reorganize it as an array