diff --git a/packages/server/src/api/haste.ts b/packages/server/src/api/haste.ts index b7ff950..67c0ace 100644 --- a/packages/server/src/api/haste.ts +++ b/packages/server/src/api/haste.ts @@ -60,7 +60,7 @@ export class Haste { } if (!configuration) { - throw new Error(`You must provide a haste configuration.`); + throw new Error(`You must provide a haste configuration object.`); } const url = buildUrl(configuration.hostProtocol, configuration.host, configuration.port); diff --git a/packages/web/src/api/hasteClient.ts b/packages/web/src/api/hasteClient.ts index a170d30..9673c2b 100644 --- a/packages/web/src/api/hasteClient.ts +++ b/packages/web/src/api/hasteClient.ts @@ -17,7 +17,7 @@ export class HasteClient { } public static async build(clientId: string, domain = 'haste-development.us.auth0.com') { - if (!isBrowser()) throw new Error(`Haste client build may only be called from a browser based environment please.`); + if (!isBrowser()) throw new Error(`Haste client build may only be called from a browser based environment`); const auth0 = await createAuth0Client({ domain: domain,