Ensure ConsoleErrorHandler exits with code 1 for exceptions with string codes.

Code was messed up during 2.6 => 3.0 merge.