From: Roland Häder Date: Wed, 31 Aug 2011 20:03:08 +0000 (+0000) Subject: All backtraces now have a small message. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d5c745f986e1bd82e3bb00a9915a970586af7697;p=core.git All backtraces now have a small message. --- diff --git a/inc/classes/main/commands/web/class_WebDoFormCommand.php b/inc/classes/main/commands/web/class_WebDoFormCommand.php index 33189fdf..79a4c772 100644 --- a/inc/classes/main/commands/web/class_WebDoFormCommand.php +++ b/inc/classes/main/commands/web/class_WebDoFormCommand.php @@ -57,8 +57,8 @@ class WebDoFormCommand extends BaseCommand implements Commandable { * @return void */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { - // Should never be executed... - $this->debugBackTrace(); + // Should never be reached... + $this->debugBackTrace('This should never be reached.'); } /** diff --git a/inc/classes/main/template/mail/class_MailTemplateEngine.php b/inc/classes/main/template/mail/class_MailTemplateEngine.php index 898aa2f3..c5ae0195 100644 --- a/inc/classes/main/template/mail/class_MailTemplateEngine.php +++ b/inc/classes/main/template/mail/class_MailTemplateEngine.php @@ -321,7 +321,7 @@ class MailTemplateEngine extends BaseTemplateEngine implements CompileableTempla public function getMailCacheFqfn () { // Initialize FQFN $fqfn = ''; - $this->debugBackTrace(); + $this->debugBackTrace('Unfinished area!'); // Return it return $fqfn; diff --git a/inc/classes/main/user/member/class_Member.php b/inc/classes/main/user/member/class_Member.php index 28288a80..39b83dd8 100644 --- a/inc/classes/main/user/member/class_Member.php +++ b/inc/classes/main/user/member/class_Member.php @@ -94,8 +94,7 @@ class Member extends BaseUser implements ManageableMember, Registerable { } else { // Unsupported mode $userInstance = new Member(); - $userInstance->partialStub("We need to add more ways of creating user classes here."); - $userInstance->debugBackTrace(); + $userInstance->debugBackTrace('More ways of creating user classes are needed here.'); exit(); }