added try catch for error with sphinx search