-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hello everyone,
apparently the response messages in RESTClient.pm
are truncated after 50 characters, in case of any errors.
The related code looks as follows:
my $glimpse = $res->{content} || '';
$glimpse =~ s{\s+}{ }g;
if ( length($glimpse) > 50 ) {
$glimpse = substr( $glimpse, 0, 50 );
$glimpse .= '...';
}
Is there a special reason, why it's truncated, as in case of doubt, any message pointing to a problem potentially becomes unreadable.
Would it be possible to make this at least configurable?
Thanks in advance and cheers!
Metadata
Metadata
Assignees
Labels
No labels