Add debug logging of exceptions that happen during rending of studio_view or student_view in Studio