Project

General

Profile

Actions

Task #103277

closed

Throw LogicException in HashService

Added by Torben Hansen 9 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2024-03-04
Due date:
% Done:

100%

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

Description

The HashService class throws a custom EmptyAdditionalSecretException, when the $additionalSecret parameter is an empty string. The custom exception does however not suit well in this case, since the exception is caused by a developer not respecting the functions parameter requirements and the exception should not be catched. The custom exception should therefore be removed and a top level exception thrown instead.

Actions

Also available in: Atom PDF