handle case where custom subclass does not trigger captureStackTrace