[SPHINX] Fix connection error : throw Exception