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

[BUGFIX] Incorrect logging of messages with sequence numbers (tildeio/router.js#281) #282

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

vincent99
Copy link
Contributor

@vincent99 vincent99 commented Feb 20, 2019

The wrong "arg[ument]s" variable is being checked for length, which results in logging calls to log always being logged wrong. (#281)

Current:

log(router, "foo") => Transition #: foo (arguments.length === 2, args.length === 1)
log(router, 1, "foo) => 1 (arguments.length === 3, args.length === 2)

Expected:

log(router, "foo") => foo
log(router, 1, "foo) => Transition #1: foo

@vincent99 vincent99 changed the title Fix logging of messages with sequence numbers (#281) [BUGFIX] Incorrect logging of messages with sequence numbers (#281) Feb 20, 2019
@vincent99 vincent99 changed the title [BUGFIX] Incorrect logging of messages with sequence numbers (#281) [BUGFIX] Incorrect logging of messages with sequence numbers (tildio/router.js#281) Feb 20, 2019
@vincent99 vincent99 changed the title [BUGFIX] Incorrect logging of messages with sequence numbers (tildio/router.js#281) [BUGFIX] Incorrect logging of messages with sequence numbers (tildeio/router.js#281) Feb 20, 2019
@chadhietala chadhietala merged commit c315882 into tildeio:master Feb 21, 2019
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.

None yet

2 participants