Project

General

Profile

Actions

Feature #19069

closed

give more debug details in error case

Added by Franz Holzinger over 16 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-07-07
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.1
Tags:
Complexity:
Sprint Focus:

Description

When an error occurs in an extension then it is very hard to find out the reason of it, because the TYPO3 Core functions give only very few infos about the error. However it would be very necessary and time saving to also get the bug backtrace and the line and file in the code where the error had happend.

E.g. in t3lib_div::getUserObj you have
debug("<strong>ERROR:</strong> No class named: ".$class,1);

But you should have also the output of t3lib_div::debug_trail(); and LINE and FILE infos.
Please insert more debug info in such cases!
This would help to save a lot of time wasted otherwise in searching for the reason of such an error message 'No class named "classname"' '.

(issue imported from #M8911)

Actions

Also available in: Atom PDF