plz.el icon indicating copy to clipboard operation
plz.el copied to clipboard

Improve error handling if process is killed

Open leotaku opened this issue 1 year ago • 2 comments

Hi! I noticed that, at least on my machine, when the curl process is killed it does not reliably return with a status code above 90. For me, this currently leads to an incorrect error message when the process is killed.

This PR tries to fix that issue.

leotaku avatar Oct 01 '24 10:10 leotaku

Hi Leo,

I appreciate the PR, but this is the kind of change that must be made very carefully, if at all. And before making it, I need to fully understand the problem. And it would be best if it were accompanied with a test case.

So, if you would, please open a bug report issue where we can discuss the problem and understand potential solutions. Feel free to link the PR on the issue.

alphapapa avatar Oct 01 '24 21:10 alphapapa

Certainly! Will do.

leotaku avatar Oct 02 '24 10:10 leotaku