Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message "Can't create metadata cache directory." could be improved #619

Open
seife opened this issue Feb 18, 2025 · 1 comment
Open

Message "Can't create metadata cache directory." could be improved #619

seife opened this issue Feb 18, 2025 · 1 comment

Comments

@seife
Copy link

seife commented Feb 18, 2025

A coworker of mine had to resort to strace to find out why he got the "Can't create metadata cache directory." message upon "zypper ref".

Of course, it was ENOSPC ;-)

But it would be nice if the reason of failure was added to the message.

I thought it might be as easy as adding a "%m" to the error string, however, looking at the code I found that there is translations involved and I have no idea if it is as easy, hence no patch :-)

@mlandres
Copy link
Member

I'll try to add it to the Exceptions history. Then it should bubble up...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants