Merge pull request #7733 from aws-lumberyard-dev/scripting/error_format

Removed carriage return from errors
This commit is contained in:
Luis Sempé
2022-02-17 17:22:39 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -393,7 +393,7 @@ namespace ScriptCanvas
}
}
AZStd::string errorMessage = AZStd::string::format("Connection cannot be created between source slot \"%s\" and target slot \"%s\" as the types do not satisfy the type requirement. (%s)\n\rValid types are:\n\r"
AZStd::string errorMessage = AZStd::string::format("Connection cannot be created between source slot \"%s\" and target slot \"%s\" as the types do not satisfy the type requirement. (%s)\nValid types are:\n"
, sourceSlot.GetName().data()
, targetSlot.GetName().data()
, RTTI_GetTypeName());
@@ -73,7 +73,7 @@ namespace ScriptCanvas
return AZ::Success();
}
AZStd::string errorMessage = AZStd::string::format("Connection cannot be created between source slot \"%s\" and target slot \"%s\" as the types do not satisfy the type requirement. (%s)\n\rValid types are:\n\r"
AZStd::string errorMessage = AZStd::string::format("Connection cannot be created between source slot \"%s\" and target slot \"%s\" as the types do not satisfy the type requirement. (%s)\nValid types are:\n"
, sourceSlot.GetName().data()
, targetSlot.GetName().data()
, RTTI_GetTypeName());