bitbake: prserv: correct error message

according to db.py, prserv.NotFoundError is returned here when
adding a new value to the database failed

(Bitbake rev: 4cc4069987edd14f51715dfaf0c6e1a3aa307106)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Opdenacker 2024-04-12 11:02:31 +02:00 committed by Richard Purdie
parent d19e32dcd7
commit f2a83b50b3

View File

@ -81,7 +81,7 @@ class PRServerClient(bb.asyncrpc.AsyncServerConnection):
value = self.server.table.get_value(version, pkgarch, checksum)
response = {"value": value}
except prserv.NotFoundError:
self.logger.error("can not find value for (%s, %s)",version, checksum)
self.logger.error("failure storing value in database for (%s, %s)",version, checksum)
return response