handle error return from ruby depselector