Project

General

Profile

Actions

Task #82131

closed

GeneralUtility::makeInstance() should throw exception on unknown class

Added by Mathias Brodala over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2017-08-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

GeneralUtility::makeInstance() should throw an exception if a class does not exist. This way you could get a proper stack trace which simplifies debugging a lot. ATM you get a fatal error instead which sometimes leads simply to blank pages instead of error messages.

Actions

Also available in: Atom PDF