Trap Handler with port in alert detail

Hi,
I have created a new trap handler for detect LDP Session down/up on an interface (SnmpTrap Handler for Cisco IOS LDP Session UP and DOWN by f7naz · Pull Request #16107 · librenms/librenms · GitHub). It works but i would like to see port informations in details of an alert (like when port is down).
I think I’m missing something in the code but I don’t know what.
Currently i can see only device informations

Are you an idea ?
Regards,