mirror of
https://github.com/wentasah/ros2nix.git
synced 2025-06-10 00:02:23 +03:00
Fix exception when printing an error message
pkg may not be always set.
This commit is contained in:
parent
c0dcec99ca
commit
61f9d71bc8
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ def ros2nix(args):
|
||||||
)
|
)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
err('Failed to prepare Nix expression for package {}!'.format(pkg))
|
err(f'Failed to prepare Nix expression from {source}')
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue