Callback on exception changed to event in endpoint