Catch module render exceptions


LMS-1192