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

marine_test: report path in 'Wasm file is corrupted' #5

Open
folex opened this issue Jul 27, 2021 · 0 comments
Open

marine_test: report path in 'Wasm file is corrupted' #5

folex opened this issue Jul 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@folex
Copy link
Member

folex commented Jul 27, 2021

Currently, if I make a mistake with file paths somewhere, I get the following error:

error: Can't load Wasm modules into Marine: provided Wasm file is corrupted: No such file or directory (os error 2)
   --> src/tests.rs:257:19
    |
257 |     #[marine_test(config_path = "../Config.toml", modules_dir = "../artifacts/")]
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

However, it's hard to tell what file is missing, and what path is assumed.

It would be great if the error included the path that is missing/corrupted.

@ValeryAntopol ValeryAntopol transferred this issue from fluencelabs/marine-rs-sdk Oct 11, 2021
@ValeryAntopol ValeryAntopol added the enhancement New feature or request label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants