Skip to content

Commit

Permalink
fixup! enh(db): provide database providers via API
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Sep 18, 2023
1 parent b9ea87a commit bc897df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/DB/ConnectionAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public function getDatabaseProvider(): string {
} elseif ($platform instanceof SqlitePlatform) {
return IDBConnection::PLATFORM_SQLITE;
} else {
throw new \Exception('Database provider not supported');
throw new \Exception('Database ' . $platform::class . ' not supported');
}
}
}

0 comments on commit bc897df

Please sign in to comment.