moved showExceptionInConsole() logic to showInConsole()