Commits

Anonymous committed 9b62859 Draft

cope with any exception during message handling to avoid greenlet abort

  • Participants
  • Parent commits 494ded1

Comments (0)

Files changed (1)

File araldo_redis/endpoints/redis_endpoint.py

                     "unmarshalled: %s",
                     message)
                 self.gevent_queue.put((self.name(), message))
-            except TypeError as error:
+            except Exception as error:
                 self._logger.debug(
                     "Unable to unmarshal message; discarding (%s)",
                     error)