log type of uncaught exception

Especially useful for exceptions like StreamExc, whose what() is empty.