[sr-dev] git:4.2: modules/pua: do not override send_publish return value at error