|
|
@@ -7,6 +7,7 @@
|
|
|
|
|
|
namespace yii\base;
|
|
|
|
|
|
+use common\helpers\LoggerTool;
|
|
|
use Yii;
|
|
|
use yii\helpers\VarDumper;
|
|
|
use yii\web\HttpException;
|
|
|
@@ -370,6 +371,8 @@ abstract class ErrorHandler extends Component
|
|
|
*/
|
|
|
public static function convertExceptionToVerboseString($exception)
|
|
|
{
|
|
|
+ LoggerTool::error('baseErrorHandler.111111');
|
|
|
+
|
|
|
if ($exception instanceof Exception) {
|
|
|
$message = "Exception ({$exception->getName()})";
|
|
|
} elseif ($exception instanceof ErrorException) {
|