Skip to content

Commit 5e398f0

Browse files
committed
FIX: correct exception RML message
1 parent 25f110b commit 5e398f0

File tree

1 file changed

+1
-1
lines changed
  • src/gh/components/DF_export_cloud_to_file

1 file changed

+1
-1
lines changed

src/gh/components/DF_export_cloud_to_file/code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def RunScript(self,
6464

6565
# check that the i_file_path is a valid path and it has the .ply extension
6666
if not i_file_path.endswith(".ply"):
67-
ghenv.Component.AddRuntimeMessage(RML.Warning, exception) # noqa: F821
67+
ghenv.Component.AddRuntimeMessage(RML.Warning, "Attention: the format should be .ply") # noqa: F821
6868
return None
6969

7070
if i_dump:

0 commit comments

Comments
 (0)