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:29
· 2 commits to v1 since this release
d8605e1

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.