Trim exception message in database manager.
This commit is contained in:
@@ -38,7 +38,7 @@ class Manager {
|
||||
|
||||
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);
|
||||
@@ -131,4 +131,4 @@ class Manager {
|
||||
return call_user_func_array(array(static::connection(), $method), $parameters);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user