Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not trucate error message from template evaluation #1038

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

ericsciple
Copy link
Collaborator

No description provided.

@ericsciple ericsciple requested a review from a team as a code owner April 6, 2021 16:55
@@ -40,7 +40,7 @@ public class PipelineTemplateEvaluator
/// <summary>
/// Gets the maximum error message length before the message will be truncated.
/// </summary>
public Int32 MaxErrorMessageLength => 500;
public Int32 MaxErrorMessageLength { get; set; } = 500;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason to not default this to int.max?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safe defaults for the server

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(whereas the fixes i'm adding are on the client)

@ericsciple ericsciple enabled auto-merge (squash) April 6, 2021 18:31
@ericsciple ericsciple merged commit d14881b into main Apr 6, 2021
@ericsciple ericsciple deleted the users/ericsciple/21-04-scrub branch April 6, 2021 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants