Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 05483cf

Browse files
Charles MarionJamie Snape
authored andcommitted
ENH: Improved solr error message
Conflicts: modules/solr/controllers/AdvancedController.php modules/solr/library/Apache/Solr/Service.php
1 parent 1c272ad commit 05483cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/solr/controllers/AdvancedController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function submitAction()
7777
$itemIds[] = $doc->key;
7878
}
7979
} catch (Exception $e) {
80-
echo JsonComponent::encode(array('status' => 'error', 'message' => 'Syntax error in query'));
80+
echo JsonComponent::encode(array('status' => 'error', 'message' => 'Syntax error in query '.$e->getMessage()));
8181

8282
return;
8383
}

0 commit comments

Comments
 (0)