Project

General

Profile

Actions

Bug #22420

closed

Do not die, be the exception!

Added by Steffen Kamper about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There are some die's in core which don't serve the needed information why the error happen.
Solution: use Exception. With exception message you get detailed information where the error happen and where to look up, you see the backtrace.

(issue imported from #M14061)


Files

14061.diff (18.7 KB) 14061.diff Administrator Admin, 2010-04-11 02:30
14061-v2.diff (18.7 KB) 14061-v2.diff Administrator Admin, 2010-04-11 15:46

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #20735: Improve error handling for tslib_fe->printError and die()ClosedJeff Segars2009-07-07

Actions
Actions

Also available in: Atom PDF