Closed rivermont closed 3 years ago
I can start working on this.
A SyntaxError
is already raised from the incorrect response via handle_invalid_input()
, should the InputError
replace this?
@rivergillis Sure! That'd be great, thanks.
So the problem is that SyntaxError
is raised in handle_invalid_input
, it's caught by the blanket except Exception:
line at crawler.py#L1189 which is a problem.
Instead of changing the error that is raised, I'm just going to have the input loop until user gives an accepted input. No need to make them go through all the settings if they mistype on the last entry.
Checklist
Expected Behavior
Raise an
InputError
and then stop the crawler.Actual Behavior
No output, just exits straight to console.
Steps to Reproduce the Problem
Specifications