But that is on a happy path when a repo is inited that does not exist beforehand.
Maybe this is a debugging leftover?
In general the error handling here is not very sophistocated.
Only the caller of repository_open() can decide if the 'error' is an error or expected and will be handled.
We can leave this for now, but some other mechanism is needed for production.
But that is on a happy path when a repo is
init
ed that does not exist beforehand.Maybe this is a debugging leftover?
In general the error handling here is not very sophistocated. Only the caller of
repository_open()
can decide if the 'error' is an error or expected and will be handled.We can leave this for now, but some other mechanism is needed for production.