You explicitly set `raise_error` every time. Can you try this function without setting it, so that you're testing the default value, as well?