Skip to content
Snippets Groups Projects
  • Vincent Petry's avatar
    2a1d6d31
    Do not use L10n when logging exceptions · 2a1d6d31
    Vincent Petry authored
    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"
    2a1d6d31
    History
    Do not use L10n when logging exceptions
    Vincent Petry authored
    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"