This commit is contained in:
thinkphp
2017-09-29 17:25:19 +08:00
parent add3ed098c
commit 5bc577b398

View File

@@ -159,7 +159,7 @@ class View
$method = $renderContent ? 'display' : 'fetch';
$this->engine->$method($template, $vars, $config);
} catch (\Exception $e) {
ob_clean();
ob_end_clean();
throw $e;
}