refactor-initialize #221

Open
anomalist wants to merge 13 commits from refactor-initialize into master
Showing only changes of commit 72e23a9109 - Show all commits

View File

@@ -323,7 +323,10 @@ export class CapacitorPlatformService
const openMsg =
openErr instanceof Error ? openErr.message : String(openErr);
// If open fails on a newly created connection, treat as "already exists" case
if (openMsg.includes("does not exist") || openMsg.includes("already exists")) {
if (
openMsg.includes("does not exist") ||
openMsg.includes("already exists")
) {
this.connLog(
`create succeeded but open() failed: ${openMsg} → treating as 'already exists'`,
);