Commit fe5a16b4caf38e41ada624ff539000105aaa93da

Authored by Elena.Budnik
1 parent 3df5647a

error for rest

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
php/WebServices/WebServer.php
... ... @@ -68,7 +68,7 @@ class WebServer
68 68 if ($this->isSoap)
69 69 throw new SoapFault($errorType, $msg);
70 70 else
71   - return array("error" => $msg);
  71 + exit(json_encode(array("error" => $msg)));
72 72 }
73 73  
74 74 private function isGetPlotRequest($name){
... ...