Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
During update (and possibly during installation), the exception handler doesn't use the correct placeholder for the exception message, resulting in not-so-useful messages like:
Failed: PDOException: %message in db_change_field() (line 2895 of /var/www/drupal/includes/database/database.inc).
We broke that in #642160: Make debug() message work better (usable).
Comment | File | Size | Author |
---|---|---|---|
#2 | 951486-exception-messages.patch | 2.46 KB | Damien Tournoud |
#1 | 951486-exception-messages.patch | 2.2 KB | Damien Tournoud |
Comments
Comment #1
Damien Tournoud CreditAttribution: Damien Tournoud commentedThis is an easy fix.
Comment #2
Damien Tournoud CreditAttribution: Damien Tournoud commentedWith some additional comments.
Comment #3
chx CreditAttribution: chx commentedGood one! I like the extra comments (suggested by me ;) )
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.