aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/error-msg.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/error-msg.ts b/src/utils/error-msg.ts
index 0f4e0b2..ef03e76 100644
--- a/src/utils/error-msg.ts
+++ b/src/utils/error-msg.ts
@@ -1,11 +1,11 @@
export default (error?: string | Error): string => {
- let str = '🚫 unknown error';
+ let str = 'unknown error';
if (error) {
if (typeof error === 'string') {
- str = `🚫 ${error}`;
+ str = `🚫ope: ${error}`;
} else if (error instanceof Error) {
- str = `🚫 ope: ${error.message}`;
+ str = `🚫ope: ${error.message}`;
}
}