projects.py: Fix exception in error message (missing -devel package)

Missing -devel packages during build often lead to this:

	WARNING:  No project directory for module "dw-pi-playlist: No project
	path found for module "dw-pi-playlist"

but actually, the warning isn't correctly logged. Instead, an exception is
thrown. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-10-19 10:30:47 +00:00
commit f82988dcc0

View file

@ -858,7 +858,7 @@ class Projects(object):
continue continue
r.append(pd) r.append(pd)
except Exception as e: except Exception as e:
self.warn(f'No project directory for module "{module}: {e}') self.warn(f'No project directory for module "{m}: {e}')
continue continue
print(' '.join(r)) print(' '.join(r))