aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2024-04-12 11:02:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-14 06:30:26 +0100
commit2fd38b1bb685ec441f0eb0f28f3d84ba252ba90b (patch)
treefd8ea3a1a20943b4b81366b02ef4f45bf74381a9
parent0f1474a30f741b760ca81c19dd1d8f3bd5647251 (diff)
downloadbitbake-2fd38b1bb685ec441f0eb0f28f3d84ba252ba90b.tar.gz
prserv: remove redundant exception handler
This exception handler is already present in db.py's get_value() code. 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>
-rw-r--r--lib/prserv/serv.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/prserv/serv.py b/lib/prserv/serv.py
index 86bd3bb75..d1ce74e06 100644
--- a/lib/prserv/serv.py
+++ b/lib/prserv/serv.py
@@ -82,8 +82,6 @@ class PRServerClient(bb.asyncrpc.AsyncServerConnection):
response = {"value": value}
except prserv.NotFoundError:
self.logger.error("can not find value for (%s, %s)",version, checksum)
- except sqlite3.Error as exc:
- self.logger.error(str(exc))
return response