Fix NoneType crash on Soulseek test when download orchestrator fails to init
This commit is contained in:
parent
2656927f79
commit
333b8577ca
1 changed files with 3 additions and 0 deletions
|
|
@ -3367,6 +3367,9 @@ def run_service_test(service, test_config):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return False, f"Navidrome connection error: {str(e)}"
|
return False, f"Navidrome connection error: {str(e)}"
|
||||||
elif service == "soulseek":
|
elif service == "soulseek":
|
||||||
|
if soulseek_client is None:
|
||||||
|
return False, "Download orchestrator failed to initialize. Check server logs for startup errors."
|
||||||
|
|
||||||
# Test the orchestrator's configured download source (not just Soulseek)
|
# Test the orchestrator's configured download source (not just Soulseek)
|
||||||
download_mode = config_manager.get('download_source.mode', 'soulseek')
|
download_mode = config_manager.get('download_source.mode', 'soulseek')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue