Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

2 files
+ 3
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
2
@@ -90,7 +90,7 @@ class QueueJobOperator {
// release the item and skip to the next queue.
$queue->releaseItem($item);
watchdog_exception('mob_queue', $e);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('mob_queue'), $e), fn() => watchdog_exception('mob_queue', $e));
// Stop processing the current queue.
return;
@@ -98,7 +98,7 @@ class QueueJobOperator {
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('mob_queue', $e);
\Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('mob_queue'), $e), fn() => watchdog_exception('mob_queue', $e));
}
}
}
Loading