Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ユーザー辞書で読み込み/書き込みエラーが起きたとき通知センターに通知する #110

Merged
merged 7 commits into from
Feb 12, 2024

Conversation

mtgto
Copy link
Owner

@mtgto mtgto commented Feb 4, 2024

ユーザー辞書は自身で編集できるため、読み込みできない行があってもその行はスキップして読み込みが続けられます。
ただ読み込めなかったことがわかりにくいため、通知センターに通知するようにしてみます。

notification

また永続化の際に書き込みエラーが発生したときにも通知センターに通知するようにします。
スクショはファイルパーミッションを400にして作成。他にはディスクフルの場合にも発生しそう。

image

@mtgto mtgto changed the title ユーザー辞書で読み込みエラーが起きたとき通知センターに通知する ユーザー辞書で読み込み/書き込みエラーが起きたとき通知センターに通知する Feb 10, 2024
@mtgto mtgto merged commit 6fe6c95 into main Feb 12, 2024
2 checks passed
@mtgto mtgto deleted the dict-load-error-notif branch February 12, 2024 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant