Open tiagonmas opened 9 months ago
@tiagonmas I added a try catch in case this exception happens and it's the same message. If not then I will rethrow the exception.
If the file is already on the server we can assume that the email background service already generated the pdf so there is no need to upload that again.
I was on CheckPaymentStatus, after the payment was confirmed I received this error in production. Could be that the invoice was generated at the same time by the background service (so it could send the invoice by email) and then when it tried to generate the invoice again for me, it gave this error