Skip to content

Conversation

@basiliscos
Copy link
Contributor

No description provided.

if (!$res) {
warn "WrongResponse [$msg_type]";
my $tx = $client->tx;
my $details = 'URL: ' . $tx->req->url;
Copy link
Contributor

@raunakkathuria raunakkathuria Aug 1, 2017

Choose a reason for hiding this comment

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

shouldn't this check if tx object exists, like my $details = $tx ? 'URL: ' . $tx->req->url : ''; else it will give warnings

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for paying attention to that!

According to the implementation of MojoX::JSON::RPC::Client we shouldn't:

@jy-deriv
Copy link
Contributor

jy-deriv commented Aug 7, 2017

@basiliscos failing tests

@basiliscos
Copy link
Contributor Author

Tests fail in master too, because MojoX/JSON/RPC/Client.pm uses Mojo6 api (as in our private cpan), meanwhile public tests use latest Mojo7, and it fails

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.

4 participants