Print exception traces and in dev_mode to ease debugging (or make it an option)