glencoesoftware / omero-ms-core

OMERO Vert.x microservice core
GNU General Public License v2.0
2 stars 6 forks source link

Log session when session unpickling fails #34

Open kkoz opened 5 months ago

kkoz commented 5 months ago

Previously, to debug an "unpickling" error, we had to dig through Redis to find the session which had created the error. With these changes, exceptions thrown during the unpickling process are caught and the failing session is logged. We also added some logic to give more useful errors in the case where a BINGET requests a memoized item which is not present in the memo object.