fix(InitializerProcessor): Add error logging for failed initializer registration

- Add LogContext import for structured error logging
- Replace silent exception catching with detailed error logging
- Log class, method, return_type, and full exception details
- Helps diagnose DatabasePlatform initializer issues in production
- Maintains application stability by skipping failed initializers
This commit is contained in:
2025-10-27 10:03:29 +01:00
parent c8b47e647d
commit ddeca45a78
2 changed files with 13 additions and 6 deletions

View File

@@ -37,11 +37,10 @@ RUN docker-php-ext-install -j$(nproc) \
shmop \
bcmath
# Enable ext-uri for PHP 8.5 WHATWG URL support
RUN docker-php-ext-enable uri
# Note: ext-uri is built-in to PHP 8.5+ core, no installation needed
# Install PECL extensions
RUN pecl install apcu redis \
# Install PECL extensions (use beta redis for PHP 8.5 compatibility)
RUN pecl install apcu redis-6.3.0RC1 \
&& docker-php-ext-enable apcu redis
RUN echo "apc.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini \