Skip to content

Log into default php error log if database insert fails

Compare
Choose a tag to compare
@BenceSzalai BenceSzalai released this 09 Feb 19:30
· 11 commits to master since this release
2d6fcbb

Improved

  • The handler did not check if inserting the records into the db was successful or not. This could cause important log messages to be lost unnoticed. The handler now logs a warning into the default PHP error log and also logs the failed record there for reference.