diff options
Diffstat (limited to 'src/utils/error-msg.ts')
| -rw-r--r-- | src/utils/error-msg.ts | 4 |
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}`; } } |
