diff --git a/changelog/unreleased/do-not-swallow-error.md b/changelog/unreleased/do-not-swallow-error.md new file mode 100644 index 00000000000..f8c094847b1 --- /dev/null +++ b/changelog/unreleased/do-not-swallow-error.md @@ -0,0 +1,5 @@ +Bugfix: do not swallow error + +decomposedfs not longer swallows errors when creating a node fails. + +https://github.com/cs3org/reva/pull/2457 \ No newline at end of file diff --git a/pkg/storage/utils/decomposedfs/tree/tree.go b/pkg/storage/utils/decomposedfs/tree/tree.go index 83abd3e7dcb..a1c0b275835 100644 --- a/pkg/storage/utils/decomposedfs/tree/tree.go +++ b/pkg/storage/utils/decomposedfs/tree/tree.go @@ -259,7 +259,7 @@ func (t *Tree) CreateDir(ctx context.Context, n *node.Node) (err error) { err = t.createNode(n, owner) if err != nil { - return nil + return } // make child appear in listings