mscherer 7 年之前
父节点
当前提交
1fac073732
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/Error/ErrorHandlerTrait.php

+ 3 - 0
src/Error/ErrorHandlerTrait.php

@@ -28,6 +28,9 @@ use Cake\View\Exception\MissingViewException;
 trait ErrorHandlerTrait {
 trait ErrorHandlerTrait {
 
 
 	/**
 	/**
+	 * List of exceptions that are actually be treated as external 404s.
+	 * They should not go into the normal error log, but a separate 404 one.
+	 *
 	 * @var array
 	 * @var array
 	 */
 	 */
 	protected static $blacklist = [
 	protected static $blacklist = [