better error when no devices configured