[micromamba] Using --json for `micromamba create` eats up all error messages
If there is an error in creating an environment and you use the --json option, the error is not reported back. Worse, the returned JSON says "success": true. micromamba does return a non-zero code but any error is gobbled up.
Same problem with the json here. In my case if a package is not available in a list of packages, while conda returns (among others infos) the type of error and the name of the bad package like this:
conda install --json bad_package
{
[...]
"exception_name": "PackagesNotFoundError",
"packages": [
"bad_package"
],
}
mamba returns just the following json:
mamba install --json bad_package
{
"success": false
}
at least the success is set to false :).
any updates on this? Thanks!
Do you want to try to come up with an initial fix?