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

Warning : [warning] __lambda1 - _tcpConnection is null - #52

Closed
vinoakash opened this issue Nov 9, 2020 · 2 comments
Closed

Warning : [warning] __lambda1 - _tcpConnection is null - #52

vinoakash opened this issue Nov 9, 2020 · 2 comments

Comments

@vinoakash
Copy link

Hi All,

Every time when we execute the code we are getting the below warning, not sure what is this warning menas and how to resolve this issue.

2020-11-09 07:11:16 (3585) [warning] __lambda1 - _tcpConnection is null - /root/.dub/packages/hunt-net-0.5.4/hunt-net/source/hunt/net/NetClientImpl.d:162

Code:
module common.GetApiconf;

import common.GetConnections;
import core.stdc.stdlib: exit;
import hunt.database;

auto getApiconf(string stack)
{
Row[] apiconfig;
auto con = new Connections();
Statement stmt = con.db.prepare("SELECT apiuri FROM apisettings WHERE stack = :stack");
stmt.setParameter("stack", stack);
RowSet apistore = stmt.query();
scope(failure) { con.db.close(); exit(-2); } scope(exit) con.db.close();
foreach(i; apistore) { apiconfig ~= i; }
return apiconfig;
}

From,
Vino.B

@Heromyth
Copy link
Contributor

It's just a normal debug message. Maybe, it will be removed in the next release of Hunt-Net.

@Heromyth
Copy link
Contributor

Fixed in commit huntlabs/hunt-net@94adf24.

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

No branches or pull requests

2 participants