Removed debug message

This commit is contained in:
eldadfux
2019-10-20 21:30:38 +03:00
parent 088b6a5503
commit 523452a5fb
-1
View File
@@ -420,7 +420,6 @@ $utopia->post('/v1/database/:collectionId/documents')
try {
$data = $projectDB->createDocument($data);
} catch (AuthorizationException $exception) {
throw new Exception($exception->getMessage(), 400);
throw new Exception('Unauthorized action', 401);
} catch (StructureException $exception) {
throw new Exception('Bad structure. '.$exception->getMessage(), 400);