1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

spelling: occurred

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2021-06-24 19:41:09 -04:00
parent 73eafdf1b1
commit e26fee235f

View File

@ -49,7 +49,7 @@ import { docsUrl } from "../../../common/vars";
function getMessageFromError(error: any): string {
if (!error || typeof error !== "object") {
return "an error has occured";
return "an error has occurred";
}
if (error.message) {
@ -63,7 +63,7 @@ function getMessageFromError(error: any): string {
const rawMessage = String(error);
if (rawMessage === String({})) {
return "an error has occured";
return "an error has occurred";
}
return rawMessage;