Made log lines and exceptions better