diff --git a/src/Simulation/EntryPointDriver.Tests/Tests.fs b/src/Simulation/EntryPointDriver.Tests/Tests.fs index 1e00e8bd15b..fdf5a447922 100644 --- a/src/Simulation/EntryPointDriver.Tests/Tests.fs +++ b/src/Simulation/EntryPointDriver.Tests/Tests.fs @@ -929,7 +929,7 @@ let ``Submit has required options`` () = let ``Submit catches exceptions`` () = let given = test "Returns Unit" given submitWithErrorTarget - |> failsWith "Something went wrong when submitting the program to the Azure Quantum service. + |> failsWith "An error occurred when submitting to the Azure Quantum service. This machine always has an error." diff --git a/src/Simulation/EntryPointDriver/Azure/Azure.cs b/src/Simulation/EntryPointDriver/Azure/Azure.cs index cf58e04a8c1..21b0f931aa6 100644 --- a/src/Simulation/EntryPointDriver/Azure/Azure.cs +++ b/src/Simulation/EntryPointDriver/Azure/Azure.cs @@ -207,12 +207,12 @@ private static async Task DisplayJobOrError(AzureSettings settings, Task DisplayError( - "Something went wrong when submitting the program to the Azure Quantum service.", + "An error occurred when submitting to the Azure Quantum service.", ex.Message); void DisplayQuantumProcessorTranslationException(QuantumProcessorTranslationException ex) => DisplayError( - "Something went wrong when performing translation to the intermediate representation used by the target quantum machine.", + "Unable to translate the program for execution on the target quantum machine.", ex.Message); bool HandleTargetInvocationException(TargetInvocationException ex)