Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300665

exception message thrown in createConnectionOptionsFromUrl() is unclear

$
0
0

Problem/Motivation

> throw new \InvalidArgumentException('Minimum requirement: driver://host/database');

This is unclear.

Would be better as something like:

> throw new \InvalidArgumentException("The given database connection URL '$url' is badly formed. The minimum requirement is 'driver://host/database'.");

Steps to reproduce

Proposed resolution

Change the message to "The given database connection URL '$url' is invalid. The minimum requirement is: 'driver://host/database'"

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 300665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>