We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d205a9 commit dfa6330Copy full SHA for dfa6330
rosidl_cli/rosidl_cli/command/translate/api.py
@@ -88,8 +88,11 @@ def translate(
88
), None)
89
90
if not extension:
91
- raise RuntimeError(f"Translation from '{input_format}' to "
92
- f"'{output_format}' is not supported")
+ raise RuntimeError('\n'.join([
+ f"Cannot translate the following files to '{output_format}' format:",
93
+ *[f'- {path}' for path in interface_files],
94
+ 'No translator found'
95
+ ]))
96
97
translated_interface_files.extend(extension.translate(
98
package_name, interface_files, include_paths, output_path))
0 commit comments