handle injector errors