Skip to content

I think this fixes the truncated messages issue#34

Open
mike-lawrence wants to merge 3 commits intosmbache:masterfrom
mike-lawrence:master
Open

I think this fixes the truncated messages issue#34
mike-lawrence wants to merge 3 commits intosmbache:masterfrom
mike-lawrence:master

Conversation

@mike-lawrence
Copy link

I think this fixes the truncated messages issue (#33). Maybe double-check that my tossing of the last three entries in args doesn't have any unwanted effects that I'm not considering?

} else if (type == "error") {
} else {
message = unlist(args)
message = paste0(message[1:(length(message)-3)],collapse='')
Copy link
Owner

Choose a reason for hiding this comment

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

Can we be sure that length(message) > 3 here? We should use consistent syntax, <- for assignment, and spacing in argument list and around the minus.

@smbache
Copy link
Owner

smbache commented Feb 20, 2018

Thanks for digging into this. I left a few comments in the code section.

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