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

Conversation

@tbal999
Copy link

@tbal999 tbal999 commented Feb 1, 2022

sometimes you get:

failed to generate the result PDF
in func (c *Client) StoreContext(ctx context.Context, req Request, dest string) error

when you shouldn't.
I.E when the server is still processing a file.

so I did the below in a fork

https://github.com/tbal999/gotenberg-go-client/blob/48b3dc83b02f25f223a06bed4dc8cd51a2c18f60/client.go#L140

and it fixed the issue by returning an error & status if the status is an error.

could you please consider this PR.

thanks

@gulien
Copy link
Contributor

gulien commented Feb 2, 2022

Hello @tbal999,

I alas don't have time to maintain this client, so no ETA for a review / merge / release..

@tbal999
Copy link
Author

tbal999 commented Feb 2, 2022

no worries/rush gulien - just forked it & it's working fine for my use case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants