Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Update truncated object message#269

Merged
matthewloring merged 3 commits intogoogleapis:masterfrom
matthewloring:expressions
Jun 6, 2017
Merged

Update truncated object message#269
matthewloring merged 3 commits intogoogleapis:masterfrom
matthewloring:expressions

Conversation

@matthewloring
Copy link
Copy Markdown
Contributor

The message has been updated to indicate that using the object in an
expression will bypass truncation limits.

The message has been updated to indicate that using the object in an
expression will bypass truncation limits.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 5, 2017
this.config_.capture.maxProperties +
'` properties were captured'});
'` properties were captured. Use in an expression' +
' to see all properties.'});

This comment was marked as spam.

This comment was marked as spam.

Copy link
Copy Markdown
Contributor

@DominicKramer DominicKramer left a comment

Choose a reason for hiding this comment

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

The current message looks good to me, but I agree we should have a similar message for STRING_LIMIT_MESSAGE_INDEX before landing this.

Copy link
Copy Markdown
Contributor

@ofrobots ofrobots left a comment

Choose a reason for hiding this comment

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

LGTM w/ nit.

assert(item.status.description.format.indexOf('Only first') !== -1);
assert(item.status.description.format.indexOf(
'config.capture.maxStringLength=3') !== -1);
assert(item.status.description.format.indexOf('of length 11.') !== -1);

This comment was marked as spam.

This comment was marked as spam.

@matthewloring matthewloring merged commit 53562cc into googleapis:master Jun 6, 2017
@matthewloring matthewloring deleted the expressions branch June 6, 2017 22:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants