fix Controller.error_with_trace to show __struct__