Corrected ts and tsx files

This commit is contained in:
Alejandro Criado-Pérez
2023-08-04 02:14:04 +02:00
parent cef5c8e33f
commit b5328eebde
8 changed files with 9 additions and 9 deletions

View File

@ -31,7 +31,7 @@ export function getServerErrorFromUnknown(cause: unknown): HttpError {
return new Error(cause, { cause });
}
// Catch-All if none of the above triggered and something (even more) unexpected happend
// Catch-All if none of the above triggered and something (even more) unexpected happened
return new HttpError({
statusCode: 500,
message: `Unhandled error of type '${typeof cause}'. Please reach out for our customer support.`,