Changing error

To be safer, this will catch AttributeError or KeyError on non
transcoding boxes