Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292800

The service container is used before it's set in the drupal error handler

$
0
0

watchdog() is used by the custom error handler that is set by Drupal. Watchdog() gets the ip address by calling Drupal::request()->getClientIP(), which requires that the service container is set. This makes all errors really serious, since the container is not set yet.

This could possibly also affect other parts of the system which are called early.


Viewing all articles
Browse latest Browse all 292800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>