Skip to content

Commit

Permalink
Correcting path to Exception class preventing updateDatabase call
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Wilde committed Jun 21, 2011
1 parent 85ad7b2 commit 81a01ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Maiden/PostgresUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(\Piton\Log\DefaultLogger $logger, $deltaPath, $dsn,
protected function run($statements) {
if ($this->connection->exec($statements) === false) {
$error = $this->connection->errorInfo();
throw new Exception("Failed: " . print_r($error, true));
throw new \Exception("Failed: " . print_r($error, true));
}
}

Expand Down

0 comments on commit 81a01ab

Please sign in to comment.