Commit a6bb5f26 authored by Taylor Otwell's avatar Taylor Otwell

Trim exception message in database manager.

parent 1b053815
...@@ -38,7 +38,7 @@ class Manager { ...@@ -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);
......
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