Skip to content

Commit

Permalink
Change default throw_exception to true
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavmo committed Nov 4, 2019
1 parent cf553a1 commit 0cb2ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/ServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ public function handleRequest(
$payload = null,
$format = null,
$check_permission = true,
$throw_exception = false
$throw_exception = true
) {
if ($check_permission === true) {
if (false === Session::checkServicePermission($verb, $service, $resource, Session::getRequestor(),
Expand Down

0 comments on commit 0cb2ab7

Please sign in to comment.