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

Add list of imports when an error occurs with gno CLI #1295

Open
moul opened this issue Oct 25, 2023 · 1 comment
Open

Add list of imports when an error occurs with gno CLI #1295

moul opened this issue Oct 25, 2023 · 1 comment

Comments

@moul
Copy link
Member

moul commented Oct 25, 2023

CleanShot 2023-10-25 at 18 06 35@2x

This error is likely caused by a cached import version. To address this, we aim to generate a list of imports with their full file system paths. This can be achieved by using the gno CLI and printing the corresponding debugging message.

@thehowl
Copy link
Member

thehowl commented Jan 26, 2024

See-also #1306 for this specific bug

I don't think it completely makes sense to print this. Also because it's a bit fuzzy right now. There is no real system to "resolve" a path to its code. There are a bunch scattered all around, but the one of gno doc and gno run, for instance, are different. I'm trying to fix that with #1299.

I think that once we centralise dir resolving, we can have something like a debug env var to print what dirs are being resolved by gnoutil?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📥 Inbox
Status: 🌟 Wanted for Launch
Development

No branches or pull requests

2 participants