Trim exception message in database manager.

This commit is contained in:
Taylor Otwell 2011-11-23 08:35:47 -06:00
parent 1b053815d3
commit a6bb5f26a3
1 changed files with 2 additions and 2 deletions

View File

@ -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);