diff --git a/src/cal_tools/tools.py b/src/cal_tools/tools.py
index 57253fea53199cc2e440925dbf2813865a2f9cd5..f8e316ccf55a90e5916811587b4eaa5305495cab 100644
--- a/src/cal_tools/tools.py
+++ b/src/cal_tools/tools.py
@@ -358,6 +358,8 @@ def get_dir_creation_date(directory: Union[str, Path], run: int,
     proposal = int(directory.parent.name[1:])
     directory = directory / 'r{:04d}'.format(run)
 
+    # Validate the availability of the input folder.
+    # And show a clear error message, if it was not found.
     try:
         dc = RunDirectory(directory)
     except FileNotFoundError as e: