tools/makemanifest.py: Show directory name if there is a FreezeError.
@@ -199,7 +199,7 @@ def mkdir(filename):
def freeze_internal(kind, path, script, opt):
path = convert_path(path)
if not os.path.isdir(path):
- raise FreezeError("freeze path must be a directory")
+ raise FreezeError("freeze path must be a directory: {}".format(path))
if script is None and kind == KIND_AS_STR:
if any(f[0] == KIND_AS_STR for f in manifest_list):
raise FreezeError("can only freeze one str directory")
