debugging
This commit is contained in:
@@ -5,7 +5,7 @@ function logDevice(& $device, $key, $value)
|
||||
$db = new mysqli($mysqlServer, $username, $passwd, $database);
|
||||
if ($conn->connect_error)
|
||||
{
|
||||
logger(ERROR, _("Mysql connection failed: ") . $db->connect_error);
|
||||
logger(ERROR, _("Mysql connection failed: ") . $db->connect_error, __FILE__ . ":" . __LINE__);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user