Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.

Commit 2121b47

Browse files
committed
Update error message
1 parent e275b86 commit 2121b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (c *Client) Store(req Request, dest string) error {
112112
}
113113
// Check for 2XX Status Codes
114114
if resp.StatusCode < http.StatusOK || resp.StatusCode >= http.StatusMultipleChoices {
115-
return errors.New("cannot convert file to PDF")
115+
return errors.New("failed to generate the result PDF")
116116
}
117117
return writeNewFile(dest, resp.Body)
118118
}

0 commit comments

Comments
 (0)