Display the DBAL exception when an error occurs