Commit a84f80c9cd8ac7b326600bb044498546938d42bf
1 parent
df0dc6b1
ap
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/AllPositionController.php
| @@ -10,7 +10,7 @@ namespace App\Controllers; | @@ -10,7 +10,7 @@ namespace App\Controllers; | ||
| 10 | 10 | ||
| 11 | 11 | ||
| 12 | 12 | ||
| 13 | -use Phalcon\Application\Exception; | 13 | +use Phalcon\Exception; |
| 14 | use PhalconRest\Mvc\Controllers\CrudResourceController; | 14 | use PhalconRest\Mvc\Controllers\CrudResourceController; |
| 15 | use xf3\AllPositions; | 15 | use xf3\AllPositions; |
| 16 | 16 | ||
| @@ -26,7 +26,7 @@ class AllPositionController extends CrudResourceController | @@ -26,7 +26,7 @@ class AllPositionController extends CrudResourceController | ||
| 26 | 26 | ||
| 27 | $project_info = $APObj->get_project(418068); | 27 | $project_info = $APObj->get_project(418068); |
| 28 | } | 28 | } |
| 29 | - catch (\Phalcon\Acl\Exception $e) | 29 | + catch (Exception $e) |
| 30 | { | 30 | { |
| 31 | 31 | ||
| 32 | return $e->getMessage(); | 32 | return $e->getMessage(); |