Queue Duplicate Tracking

Hi All - I have an automation I’m working on. It requires the processing of transactional data, so I want to avoid loading the same transactions to the Orch queue in case of failure/restart. I’ve added a Reference and set the queue to unique so it throws an error when a duplicate is detected. Setting the Add Queue Item to continue on error means the automation will progress regardless - all good so far.

What I want to do is to somehow capture those duplicates in a log file. Anyone got any ideas how to do this as setting continue on error to True causes the automation to stop logging the errors in the output log.