]> source.dussan.org Git - nextcloud-server.git/commit
Do not use L10n when logging exceptions
authorVincent Petry <pvince81@owncloud.com>
Mon, 16 Dec 2013 14:04:02 +0000 (15:04 +0100)
committerVincent Petry <pvince81@owncloud.com>
Mon, 16 Dec 2013 14:11:13 +0000 (15:11 +0100)
commit2a1d6d310628fbd22b1972442b19ad98d8ff7ad1
tree4e3fbdca6ae6ef80ae23e91c788abf8018b42769
parent77b68505c2164330803ce5d5dcbb9fd07438e18d
Do not use L10n when logging exceptions

In some specific situations, the L10N bundle isn't loadable yet (for
example when there is an issue with the app_config table). In such case,
we still want to be able to log the real exception.

This fixes errors that say "OC_L10N_String::__toString must not throw
exceptions"
lib/private/template.php
lib/public/util.php