Skip to content

Adds additional error infos to the exception when a query cannot be prepared

David requested to merge extend-prepare-database-exception into master

What does this MR do?

Based on the suggestion of @ctwx_ok this adds additional details to the error message when the pdo fails to prepare a query. In the future this facilities debugging issues as this one: https://yunity.slack.com/archives/C1T1ZM9A4/p1574605328302300

How confident are you it won't break things if deployed?

Very

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings

Merge request reports