mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 06:46:53 +08:00
Added log statement for queue write failure
This commit is contained in:
@@ -277,7 +277,10 @@ bool writeToQueue(std::string jsonResult)
|
||||
int id = client.put(jsonResult);
|
||||
|
||||
if (id <= 0)
|
||||
{
|
||||
LOG4CPLUS_ERROR(logger, "Failed to write data to queue");
|
||||
return false;
|
||||
}
|
||||
|
||||
LOG4CPLUS_INFO(logger, "put job id: " << id );
|
||||
|
||||
|
Reference in New Issue
Block a user