|
|
@@ -65,6 +65,10 @@ class Api_WfsData extends ApiRouteBase {// TODO: extends Api_WfsBase which exten
|
|
|
} catch (Api_WfsException $e) {
|
|
|
DBG::logAuth($e);
|
|
|
$e->sendResponseXml();
|
|
|
+ } catch (PDOException $e) {
|
|
|
+ DBG::logAuth($e);
|
|
|
+ $wfsException = new Api_WfsException($e->getMessage(), 0, $e);
|
|
|
+ $wfsException->sendResponseXml();
|
|
|
} catch (Exception $e) {
|
|
|
DBG::logAuth($e);
|
|
|
$wfsException = new Api_WfsException($e->getMessage(), $e->getCode(), $e);
|