Error handling now knows which stocks failed

Although it currently doesn't do anything with that information. May need restructuring to retrieve long stock names from the codes.