Skip to content

Commit

Permalink
Update DB.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Oct 30, 2023
1 parent 0424d4c commit 6924930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfiori/framework/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function __construct($connName) {
}

if (!($conn instanceof ConnectionInfo)) {
throw new DatabaseException("No connection was found which has the name '$connName'.");
throw new DatabaseException("No connection was found which has the name '$connName'. Driver: ". get_class(App::getConfig()).'.');
}
}
parent::__construct($conn);
Expand Down

0 comments on commit 6924930

Please sign in to comment.