﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1069	Trigger error messages difficult to debug	Tristan Croll	Greg Couch	"At present, if a callback raises an exception its _TriggerHandler catches it and prints to the log something along the lines of:

Error processing trigger ""selection changed""

... which in a large and complex application is not all that helpful in tracking down the culprit. I understand the rationale for not wanting to fully raise the exception, but what about amending lines 127-128 of triggerset.py to the following?

{{{
        except Exception as e:
            _report('%s ""%s"": %s' % (TRIGGER_ERROR, self._name, str(e)))
}}}

In my case, that now gives me:

Error processing trigger ""selection changed"": 'Isolde' object has no attribute '_total_mobile'

... which gives me a clear indication of where to look."	defect	closed	moderate		Core		fixed						all	ChimeraX
