Open fuhrmanator opened 4 years ago
The message is now "No diagram found". Not sure this is more useful :-)
Hi @fuhrmanator, and all,
FYI that is now fixed by:
Then this issue can also be close. Regards, Th.
Sounds great! I can't see the test logs (expired) but I'm curious what the error says now.
Now [since Jul 29, 2021] there is no error...
Plantuml adds automaticaly the @enduml
...
Enjoy, Regards, Th.
Plantuml adds automaticaly the @enduml
Someone might be disappointed to find out that their corrupted diagram (especially when it's generated code) doesn't produce an error.
FYI this enhancement was here since Jul 29, 2021.
If a piped text without
@enduml
is sent to the .jar, it creates an error image with a misleading error "No @startuml found". We found this in the VSCode plug-in, https://github.com/qjebbs/vscode-plantuml/issues/265Here's how to reproduce it:
The error (for newbies) is confusing. Could it be fixed to report more info, e.g., "No @startuml/@enduml found"?