Skip to content

Commit f224352

Browse files
committed
Changed the output text when detecting blob in reference files.
1 parent 598ac11 commit f224352

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

file_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,9 @@ def load_linked_resources(template_dirs: list[str], resources_list, module_name:
212212
raise UnsupportedBase64Content(
213213
f"Referenced resource '{file_name}' in module '{module_name}' contains a large "
214214
f"base64-encoded blob ({len(blob)} characters), such as an embedded image. Inline "
215-
"base64 data is not supported. Remove the base64 data "
216-
"from the resource. If necessary, provide the binary file path in the specification."
215+
"base64 data is not supported. Remove the data from the resource. "
216+
"If the data should be used by the end software, "
217+
"save the data to a separate file and include the file path in the specification without it being a reference file."
217218
)
218219

219220
linked_resources[file_name] = content

0 commit comments

Comments
 (0)