diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py
index a939b2ff8240295b08c23cdf505005ebdf318d32..e0d243979faee8f44cdcee3b0e49c15af640c378 100644
--- a/src/caoscrawler/crawl.py
+++ b/src/caoscrawler/crawl.py
@@ -531,8 +531,8 @@ one with the entities that need to be updated and the other with entities to be
                     prop.value = Crawler._get_property_id_for_datatype(
                         rtname=prop.datatype, name=prop.value)
                 except (db.EmptyUniqueQueryError, db.QueryNotUniqueError):
-                    logger.error("The Property {prop.name} with datatype={prop.datatype} has the "
-                                 "value {prop.value} and there is no appropriate Entity with such "
+                    logger.error(f"The Property {prop.name} with datatype={prop.datatype} has the "
+                                 f"value {prop.value} and there is no appropriate Entity with such "
                                  "a name.")
                     raise
         else:
@@ -548,8 +548,8 @@ one with the entities that need to be updated and the other with entities to be
                                                                              name=el))
                     except (db.EmptyUniqueQueryError, db.QueryNotUniqueError):
                         logger.error(
-                            "The Property {prop.name} with datatype={prop.datatype} has the "
-                            "value {prop.value} and there is no appropriate Entity with such "
+                            f"The Property {prop.name} with datatype={prop.datatype} has the "
+                            f"value {prop.value} and there is no appropriate Entity with such "
                             "a name.")
                         raise
                 else: