send the sql exception to the console as String instead of Throwble to
avoid requiring the exception class in the console classpath
fixed sort order if statements have the same timestamp (same
millisecond)