Message null

This commit is contained in:
fogelito 2025-01-15 14:02:30 +02:00
parent cee3da2ef5
commit 098c30cd9a

View file

@ -810,7 +810,7 @@ App::error()
$error = new AppwriteException(AppwriteException::COLLECTION_NOT_FOUND, $error->getMessage(), previous: $error);
break;
case 'Utopia\Database\Exception\Dependency':
$error = new AppwriteException(AppwriteException::INDEX_DEPENDENCY);
$error = new AppwriteException(AppwriteException::INDEX_DEPENDENCY, null, previous: $error);
break;
}