Skip to content

Commit

Permalink
edit message to tell people to google
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed Jan 26, 2017
1 parent 820c5e0 commit 75048cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
try {
$dbh = new \PDO("{$dbParams['driver']}:host={$dbParams['host']};dbname={$dbParams['database']}", $dbParams['username'], $dbParams['password']);
} catch (\PDOException $e) {
$message = PHP_EOL . "Could not connect to the database '{$dbParams['username']}@{$dbParams['host']}/{$dbParams['database']}'. Please check your database configuration." . PHP_EOL;
$message = PHP_EOL . "Could not connect to the database '{$dbParams['username']}@{$dbParams['host']}/{$dbParams['database']}'. Please check your database configuration and/or google the exception shown below:" . PHP_EOL;
$message .= "Exception: " . $e->getMessage() . PHP_EOL;
$message .= "Trace: " . $e->getTraceAsString() . PHP_EOL;
die($message);
Expand Down

0 comments on commit 75048cc

Please sign in to comment.