Add exception information in controllers