Commit a6bb5f26 authored by Taylor Otwell's avatar Taylor Otwell

Trim exception message in database manager.

parent 1b053815
......@@ -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);
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment