watchdog_exception() is not replaced properly
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3435846. -->
Reported by: [joachim](https://www.drupal.org/user/107701)
>>>
<h2>Drupal version</h2>
<p>Rector's patch want to make this change:</p>
<pre>- watchdog_exception('module_builder', $e);<br>+ \Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.1.0', fn() => \Drupal\Core\Utility\Error::logException(\Drupal::logger('module_builder'), $e), fn() => watchdog_exception('module_builder', $e));</pre><p>But the CR at <a href="https://www.drupal.org/node/2932520">https://www.drupal.org/node/2932520</a> says:</p>
<pre>$logger = \Drupal::logger('update');<br>Error::logException($logger, $exception);</pre><h2>Drupal Rector version</h2>
<h2>Problem / Motivation</h2>
issue