Browse Source

Exit error handling to avoid handling exceptions multiple times.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
3adffc9caf
  1. 2
      framework/yii/base/Application.php

2
framework/yii/base/Application.php

@ -472,7 +472,7 @@ abstract class Application extends Module
foreach ($trace as $frame) {
if ($frame['function'] == '__toString') {
$this->handleException($exception);
return;
exit(1);
}
}

Loading…
Cancel
Save