@@ -95,8 +95,7 @@ |
||
95 | 95 | |
96 | 96 | $i++; |
97 | 97 | } |
98 | - } |
|
99 | - else { |
|
98 | + } else { |
|
100 | 99 | throw new RestException(500, 'Error when retrieve commande list : '.$this->connection->lasterror()); |
101 | 100 | } |
102 | 101 |