Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

[UNR-2735] Correctly report errors when cloud deployment fails to launch #1772

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Features listed in the internal section are not ready to use but, in the spirit

### Bug fixes:
- Replicated references to newly created dynamic subobjects will now be resolved correctly.
- Cloud deployment flow will now correctly report errors when a deployment fails to launch due to a missing assembly.

## [`0.8.0-preview`] - 2019-12-17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private static int CreateDeployment(string[] args)
{
Console.WriteLine(
$"Unable to launch the deployment(s). This is likely because the project '{projectName}' or assembly '{assemblyName}' doesn't exist.");
return 1;
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ bool SpatialGDKCloudLaunch()
if (OutCode != 0)
{
UE_LOG(LogSpatialGDKEditorCloudLauncher, Error, TEXT("Cloud Launch failed with code %d: %s"), OutCode, *OutString);
if (!OutErr.IsEmpty())
{
UE_LOG(LogSpatialGDKEditorCloudLauncher, Error, TEXT("%s"), *OutErr);
}
bSuccess = false;
}

Expand Down Expand Up @@ -76,6 +80,10 @@ bool SpatialGDKCloudStop()
if (OutCode != 0)
{
UE_LOG(LogSpatialGDKEditorCloudLauncher, Error, TEXT("Cloud Launch failed with code %d: %s"), OutCode, *OutString);
if (!OutErr.IsEmpty())
{
UE_LOG(LogSpatialGDKEditorCloudLauncher, Error, TEXT("%s"), *OutErr);
}
bSuccess = false;
}

Expand Down