Trim exception message in database manager.
This commit is contained in:
@@ -38,7 +38,7 @@ class Manager {
|
|||||||
|
|
||||||
if (is_null($config))
|
if (is_null($config))
|
||||||
{
|
{
|
||||||
throw new \OutOfBoundsException("Database connection is not defined for connection [$connection].");
|
throw new \OutOfBoundsException("Connection is not defined for [$connection].");
|
||||||
}
|
}
|
||||||
|
|
||||||
static::$connections[$connection] = new Connection(static::connect($config), $config);
|
static::$connections[$connection] = new Connection(static::connect($config), $config);
|
||||||
|
|||||||
Reference in New Issue
Block a user