diff --git a/src/Mod/Path/Path/Op/Custom.py b/src/Mod/Path/Path/Op/Custom.py index 0881eb3d46..0e8813dd52 100644 --- a/src/Mod/Path/Path/Op/Custom.py +++ b/src/Mod/Path/Path/Op/Custom.py @@ -114,7 +114,8 @@ class ObjectCustom(PathOp.ObjectOp): gcode_file = self.findGcodeFile(obj.GcodeFile) # could not determine the path - if not gcode_file: return + if not gcode_file: + Path.Log.error(translate("PathCustom", "Custom file %s could not be found.") % obj.GcodeFile) with open(gcode_file) as fd: for l in fd.readlines():