[downstream] Die in OCS v1.php on exceptiontags/v12.0.0beta1
} catch (MethodNotAllowedException $e) { | } catch (MethodNotAllowedException $e) { | ||||
OC_API::setContentType(); | OC_API::setContentType(); | ||||
OC_Response::setStatus(405); | OC_Response::setStatus(405); | ||||
} catch (\OC\OCS\Exception $ex) { | |||||
exit(); | |||||
} catch (Exception $ex) { | |||||
OC_API::respond($ex->getResult(), OC_API::requestedFormat()); | OC_API::respond($ex->getResult(), OC_API::requestedFormat()); | ||||
exit(); | |||||
} | } | ||||
/* | /* |