gestione errori wallet + fix
This commit is contained in:
@@ -35,7 +35,7 @@ class CurrentClients:
|
||||
|
||||
def start_client(self, client, args):
|
||||
process = subprocess.Popen(
|
||||
[f'{self.venv_path}/bin/python3 {args.ase_receiver} {client}'],
|
||||
[f'{self.venv_path}/bin/python3', args.ase_receiver, client],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
text=True
|
||||
@@ -87,7 +87,7 @@ def get_credentials(args):
|
||||
}
|
||||
response = requests.post(url, json=data)
|
||||
if response.status_code != 200:
|
||||
logging.error("Error to get pwd from wallet")
|
||||
logging.error(f"Error to get pwd from wallet.")
|
||||
exit(1)
|
||||
|
||||
return response.json().get('password')
|
||||
|
||||
Reference in New Issue
Block a user