[BUGFIX] Failing test due to Log exception renaming

Resolves: #49663
Releases: 6.2
Change-Id: Ia4bcec1e1446fa639f9fed5ef67f96146786cfaf
Reviewed-on: https://review.typo3.org/21878
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters