remove custom DTC setup and fixes for customexception
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
namespace TheTempusProject\Houdini\Classes;
|
||||
|
||||
use TheTempusProject\Canary\Bin\Canary as Debug;
|
||||
use TheTempusProject\Canary\Classes\CustomException;
|
||||
|
||||
class Views extends Template {
|
||||
public static $additionalLocations = [];
|
||||
@ -34,7 +35,7 @@ class Views extends Template {
|
||||
if ( !empty( $out ) ) {
|
||||
self::$content .= $out;
|
||||
} else {
|
||||
// new CustomException( 'view', $viewName );
|
||||
new CustomException( 'view', $viewName );
|
||||
}
|
||||
}
|
||||
|
||||
@ -96,7 +97,7 @@ class Views extends Template {
|
||||
}
|
||||
}
|
||||
// @todo - this would be awesome, if i actually caught the exception anywhere :/
|
||||
// throw new CustomException('simpleView', $path);
|
||||
new CustomException('simpleView', $path);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user