Added warning logging when suppressing IndexError