From 622232bed198b390a7752a64b37d0cb3ea6536a5 Mon Sep 17 00:00:00 2001 From: Kevin Jiang Date: Sun, 24 Aug 2025 17:47:01 +1200 Subject: [PATCH] fix(integration): use more specific error message when wallabag failed to save --- internal/integration/wallabag/wallabag.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/integration/wallabag/wallabag.go b/internal/integration/wallabag/wallabag.go index dcc84337..686388d6 100644 --- a/internal/integration/wallabag/wallabag.go +++ b/internal/integration/wallabag/wallabag.go @@ -83,7 +83,7 @@ func (c *Client) createEntry(accessToken, entryURL, entryTitle, entryContent, ta defer response.Body.Close() if response.StatusCode >= 400 { - return fmt.Errorf("wallabag: unable to get access token: url=%s status=%d", apiEndpoint, response.StatusCode) + return fmt.Errorf("wallabag: unable to get save entry: url=%s status=%d", apiEndpoint, response.StatusCode) } return nil