diff --git a/test.py b/test.py
index 743f2d38490c65c94d1ea375c36c71db0838b837..634abfec2d0544f7707929bf4ce0b9ac75593e2e 100644
--- a/test.py
+++ b/test.py
@@ -36,10 +36,10 @@ def checkFootprint(lineNum, footprintField):
 		errorOnLine(lineNum, 'Footprint library name is wrong')
 	
 	if len(parts) > 1:
-		footpringPath = libraryName + '.pretty/' + parts[1] + '.kicad_mod'
-		footFileExists = path.exists(footpringPath)
+		footprintPath = libraryName + '.pretty/' + parts[1] + '.kicad_mod'
+		footFileExists = path.exists(footprintPath)
 		if footFileExists != True:
-			errorOnLine(lineNum, 'Footprint file does not exist')
+			errorOnLine(lineNum, 'Footprint file does not exist: ' + footprintPath)
 
 with open(libraryName + '.lib', 'r') as f:
 	lines = f.readlines()