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

Removed carriage return from errors
monroegm-disable-blank-issue-2
Luis Sempé 4 years ago committed by GitHub
commit c0299f0ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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());

Loading…
Cancel
Save