fix: typos in several package/ directories (#19495)

* fix: typos in packages/embeds
Found via codespell

* fix: typos in packages/lib
Found via codespell

* fix: typos in packages/trpc
Found via codespell
This commit is contained in:
luzpaz authored and GitHub committed 2025-02-24 14:44:08 +00:00
1 parent 16a94fe712
commit 97ef32f7ca
27 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ export const redactError = <T extends Error | unknown>(error: T) => {
log.debug("Type of Error: ", error.constructor);
if (shouldRedact(error) && IS_PRODUCTION) {
log.error("Error: ", JSON.stringify(error));
return new Error("An error occured while querying the database.");
return new Error("An error occurred while querying the database.");
}
return error;
};