Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -99,13 +99,13 @@ class QueueThrottleService implements QueueThrottleServiceInterface {
// If the worker indicates there is a problem with the whole queue,
// release the item.
$queue->releaseItem($item);
watchdog_exception('queue_throttle', $e);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('queue_throttle'), $e), fn() => watchdog_exception('queue_throttle', $e));
break;
}
catch (\Exception $e) {
// In case of any other kind of exception, log it and leave the item
// in the queue to be processed again later.
watchdog_exception('queue_throttle', $e);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('queue_throttle'), $e), fn() => watchdog_exception('queue_throttle', $e));
}
}
Loading