Skip to content

Register error handler for cron and add early exception test#632

Merged
NB-Core merged 1 commit into
masterfrom
codex/edit-cron.php-for-error-handling
Aug 27, 2025
Merged

Register error handler for cron and add early exception test#632
NB-Core merged 1 commit into
masterfrom
codex/edit-cron.php-for-error-handling

Conversation

@NB-Core

@NB-Core NB-Core commented Aug 27, 2025

Copy link
Copy Markdown
Owner

Summary

  • register global error handler in cron.php before including common.php
  • add test harness simulating an exception in common.php to verify email notification

Testing

  • composer install
  • composer test (fails: Tests: 236, Assertions: 373, Errors: 1, Failures: 2)
  • vendor/bin/phpunit tests/CronCommonExceptionTest.php

https://chatgpt.com/codex/tasks/task_e_68aedd5adc94832989c7cbe207f56457

@NB-Core NB-Core merged commit 8406cc4 into master Aug 27, 2025
1 check failed
@NB-Core NB-Core deleted the codex/edit-cron.php-for-error-handling branch August 27, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant