mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 06:46:53 +08:00
Added return false when data is not written
This commit is contained in:
@@ -293,6 +293,7 @@ bool writeToQueue(std::string jsonResult)
|
|||||||
catch (const std::runtime_error& error)
|
catch (const std::runtime_error& error)
|
||||||
{
|
{
|
||||||
LOG4CPLUS_WARN(logger, "Error writing to Beanstalk. Result has not been saved.");
|
LOG4CPLUS_WARN(logger, "Error writing to Beanstalk. Result has not been saved.");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user