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

Update truncated object message #269

Merged
merged 3 commits into from
Jun 6, 2017
Merged

Update truncated object message #269

merged 3 commits into from
Jun 6, 2017

Conversation

matthewloring
Copy link
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
@@ -473,7 +473,8 @@ StateResolver.prototype.resolveMirror_ = function(mirror) {
if (truncate) {
members.push({name: 'Only first `config.capture.maxProperties=' +
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
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
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.

@@ -733,6 +733,7 @@ describe('v8debugapi', function() {
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.

None yet

5 participants