Index: wp-includes/template-loader.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-includes/template-loader.php	(revision fcd674ca6c6dc26509c710b2996b304352340db6)
+++ wp-includes/template-loader.php	(revision )
@@ -87,10 +87,7 @@
 	if ( $template = apply_filters( 'template_include', $template ) ) {
 		include( $template );
 	} elseif ( current_user_can( 'install_themes' ) ) {
-		$theme = wp_get_theme();
-		if ( $theme->errors() ) {
-			wp_die( $theme->errors() );
-		}
+		wp_die( __( 'Template is missing.' ) );
 	}
 	return;
 endif;
