Issue #3380535 by keshavv, ChristianAdamski: watchdog_exception() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0
Closes #3458993