Skip to content

Conversation

vostrik
Copy link

@vostrik vostrik commented Dec 6, 2016

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

With "unknown transport" error
if (err)
leads to negative, but we have error.

New behaviour

UNKNOWN_TRANSPORT value replace to 1000

Other information (e.g. related issues)

Change UNKNOWN_TRANSPORT enum value from 0 to 1000.
Because zero is an unsafe value for conditional expressions:
if (err) => if (0)

Change UNKNOWN_TRANSPORT enum value from 0 to 1000.
Because zero is an unsafe value for conditional expressions:
if (err) => if (0)
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.

1 participant