uac: print new and old uri in log message in case of error