Added a print for the exception when a command handler crashes.