Trim exception message in database manager.
This commit is contained in:
parent
1b053815d3
commit
a6bb5f26a3
|
@ -38,7 +38,7 @@ public static function connection($connection = null)
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue