set console output for exceptions