[BUGFIX] Handle exceptions in Logging API 02/37602/5
authorMarkus Klein <klein.t3@reelworx.at>
Fri, 6 Mar 2015 17:16:38 +0000 (18:16 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 7 Mar 2015 18:48:16 +0000 (19:48 +0100)
commitc49474f916991298bd115bb1fc4333b312f07dd8
treee52b506d55a76f360d2fa04914c2a8e07fb73c0e
parentf010b5801b1303afaf1b27d57f1d8ec332d59af9
[BUGFIX] Handle exceptions in Logging API

Do not run exceptions through json_encode() but convert them to strings
first.

Resolves: #65577
Releases: master, 6.2
Change-Id: I46e743480b32010bff39784a3572a5fe96cf0859
Reviewed-on: http://review.typo3.org/37602
Reviewed-by: Steffen Müller <typo3@t3node.com>
Tested-by: Steffen Müller <typo3@t3node.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Log/LogRecord.php
typo3/sysext/core/Classes/Log/Processor/IntrospectionProcessor.php
typo3/sysext/core/Classes/Log/Writer/FileWriter.php
typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php