Files
UnrealEngineUWP/Engine/Source/Programs/UnrealVirtualizationTool/Private/Commands/CommandBase.cpp
paul chipchase dad1eaf01d [UVT] Improve error handling when failing to establish a perforce connection.
#rb trivial
#jira UE-151641
#rnx
#preflight 63d94cd3ba4fadeef0930cca

- As ISourceControlProvide::Init does not return if a connection was established or not we need to also call ISourceControlProvide::IsAvailable afterwards to check if we actually have a connection.
- This lets us fail early with a more specific error message rather than waiting for the first command to fail especially as our commands rarely print useful errors if the connection failed.

[CL 23931768 by paul chipchase in ue5-main branch]
2023-01-31 13:16:46 -05:00

10 KiB