Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyboardInterrupt is not working as intended. #64

Open
BhardwajAnshul opened this issue May 30, 2023 · 2 comments
Open

KeyboardInterrupt is not working as intended. #64

BhardwajAnshul opened this issue May 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@BhardwajAnshul
Copy link

during KeyboardInterrupt, RequestsError is also being raised.

RequestsError(Failed to perform, ErrCode: 23, Reason: 'Failure writing output to destination') error occurred

@yifeikong
Copy link
Owner

More context please? like the stacktrace.

@BhardwajAnshul
Copy link
Author

If you press Ctrl + C, you would expect the script to stop and raise a KeyboardInterrupt error. However, when you do this, curl_cffi also raises a RequestsError. This error includes messages such as "Failed to write output" or "Failed to write headers".

When pressing Ctrl + C, it is expected that the script should raise a KeyboardInterrupt error, not a RequestsError.

Also Can you please let me know when will the support for chrome 112 or chrome 113 will be added.

@yifeikong yifeikong added the bug Something isn't working label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants