Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

Files
5
+ 1
1
@@ -181,7 +181,7 @@ class FileLog implements LoggerInterface {
catch (FileLogException $error) {
// Log the exception, unless we were already logging a filelog error.
if ($context['channel'] !== 'filelog') {
watchdog_exception('filelog', $error);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('filelog'), $error), fn() => watchdog_exception('filelog', $error));
}
// Write the message directly to STDERR.
fwrite($this->stderr(), $entry . "\n");
Loading