diff --git a/pymods/irods_utils/irods_utils.py b/pymods/irods_utils/irods_utils.py
index 20f077a4eb056359e7fb281c61ffdb79863400fa..9110d19f2ffc12817d50531cf11b5d346e90e3c4 100644
--- a/pymods/irods_utils/irods_utils.py
+++ b/pymods/irods_utils/irods_utils.py
@@ -296,7 +296,7 @@ def confirmed_put( irods_sesh, file, new_obj_ipath, metadata_dict=None, datatype
         if new_obj.checksum !=  "sha2:{}".format(digest) :
             logging.error( "sha256 mismatch on local object vs object found in iRODS."
                          + " file " + file
-                         + " new_obj_path " + new_obj_path )
+                         + " new_obj_ipath " + new_obj_ipath )
 
             # This means we are really trying to upload a different data object to the same archive ipath
             # Move the old object out of the way and date it.