fixed notification not being sent

This commit is contained in:
yusing
2024-10-30 06:44:10 +08:00
parent 81177926ff
commit 0397f69853
4 changed files with 6 additions and 6 deletions

View File

@@ -19,6 +19,8 @@ func highlight(subject string) string {
func PrependSubject(subject string, err error) error {
switch err := err.(type) {
case nil:
return nil
case *withSubject:
return err.Prepend(subject)
case Error: