Could not adapt error silently swallows exceptions in adaption

Bug #1181749 reported by Dylan Jay on 2013-05-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Won't Fix

Bug Description

If there is an exception in the factory when creating the adapter, zope.component will silently move on to the next adapter and eventually give a "could not adapt" error. This makes it very hard to debug such an error since you first have to guess what factories might be being called and then guess where the exception could be coming from. Is there a way we could have more meaningful stacktrace or logs which give clues to the swallowed exception?

Tres Seaver (tseaver) wrote :
Changed in zope.component:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers