mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-06 14:04:16 +08:00
change: exit with InvalidPython3Venv code
This commit is contained in:
@@ -73,7 +73,7 @@ func initPlugin(path, venv string, logOn bool) (plugin funplugin.IPlugin, err er
|
||||
log.Error().Err(err).
|
||||
Interface("packages", packages).
|
||||
Msg("python3 venv is not ready")
|
||||
return nil, err
|
||||
return nil, errors.Wrap(code.InvalidPython3Venv, err.Error())
|
||||
}
|
||||
pluginOptions = append(pluginOptions, funplugin.WithPython3(python3))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user