aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorJefferey Neuffer <[email protected]>2023-01-25 13:13:32 +1000
committerGitHub <[email protected]>2023-01-24 21:13:32 -0600
commiteac9ec48b12bacdb6a69415f6cd75455ea49b873 (patch)
treeb3647970fb425ea3579b69d93e8bad5b9a431ada /src/utils
parentabdae1a6449d0e3911b45c0dfde3f4b184c17ae0 (diff)
downloadmuse-eac9ec48b12bacdb6a69415f6cd75455ea49b873.tar.xz
muse-eac9ec48b12bacdb6a69415f6cd75455ea49b873.zip
Minor message improvements (#865)
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/error-msg.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/error-msg.ts b/src/utils/error-msg.ts
index ef03e76..1417a7e 100644
--- a/src/utils/error-msg.ts
+++ b/src/utils/error-msg.ts
@@ -3,9 +3,9 @@ export default (error?: string | Error): string => {
if (error) {
if (typeof error === 'string') {
- str = `🚫ope: ${error}`;
+ str = `🚫 ope: ${error}`;
} else if (error instanceof Error) {
- str = `🚫ope: ${error.message}`;
+ str = `🚫 ope: ${error.message}`;
}
}