Add error log when dropping spans