mirror of https://github.com/usememos/memos
refactor(memo): simplify MemoDetail error handling, drop memo.failed-to-load i18n key
The failed-to-load key was only used for non-ConnectError exceptions, which are unreachable in practice since the Connect RPC client always wraps errors as ConnectError. Use (error as Error).message as a plain fallback instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>pull/5754/head
parent
5f6f624635
commit
7b4f3a9fa5
Loading…
Reference in New Issue