decentralised sync engine

refactor: refine error message

serenity 5f60343a a4d055b3

Changed files
+3
src
lib
+3
src/lib/env.ts
···
console.error(
"See the example environment variables file for more information. `.example.env` in the project root.",
);
throw new Error(z.prettifyError(ownerDidParseError));
}
export const OWNER_DID = ownerDidParsed;
···
console.error(
"See the example environment variables file for more information. `.example.env` in the project root.",
);
+
console.error(
+
"If you are doing local development, you must still set an owner did. This must point to a repo containing the records from the bootstrap.",
+
);
throw new Error(z.prettifyError(ownerDidParseError));
}
export const OWNER_DID = ownerDidParsed;