Include punctuation

This commit is contained in:
Iain Sproat
2025-03-12 11:51:32 +00:00
parent 7d179845a3
commit 91c61682cb
+1 -1
View File
@@ -18,7 +18,7 @@ export function ensureError(
}
}
return new UnexpectedErrorStructureError(
`${fallbackMessage}${stringifiedError !== '' ? `Cause: ${stringifiedError}` : ''}`
`${fallbackMessage}${stringifiedError !== '' ? `. Cause: ${stringifiedError}` : ''}`
)
}