Added exception logging.

Maybe also say something like `[trace <hash>]`