openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 582dec0f0115587f80c842a4a01a9843bba6110f
parent a388d0b8b2ed0dd88d978e4cae0f578f3a1757b7
Author: Jan Dankert <devnull@localhost>
Date:   Fri,  3 Nov 2017 01:31:58 +0100

Aussagekräftei Fehlermeldungen in den Exceptions.

Diffstat:
action/Action.class.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/action/Action.class.php b/action/Action.class.php @@ -468,7 +468,7 @@ class Action } catch (Exception $e) { - throw new DomainException("Template compilation failed",0,$e ); + throw new DomainException("Compilation failed for Template '$tplName'.",0,$e ); } } @@ -479,7 +479,7 @@ class Action // Einbinden des Templates require_once( $iFile ); else - throw new LogicException("File not found: $iFile"); + throw new LogicException("File '$iFile' not found."); }