Increase verbosity for ItemLoader, Compose and MapCompose errors #3836
ItemLoader already provides error raising for the case of the output processor:
It could be helpful to extend this behaviour could to other ItemLoader methods:
The text was updated successfully, but these errors were encountered:
Added error messages to ItemLoader (for input processor, and processor as argument) and also for MapCompose and Compose.
For MapCompose and Compose, I'm not sure though if the format is correct, since these errors will be displayed when processing the input/out processors and they will be nested to these ones, example:
I would appreciate any suggestions here.
I added some tests in
Changes made to previous tests:
Line 485, in
proc = Compose(str.upper, stop_on_none=False) proc(None)
Now it raises:
So I added checking for
New tests added: