You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error from erd v0.2.0 is not shown in preview (screenshot below).
Cause
It is due to that erd outputs error to stderr instead of stdout which assumed to be the old implementation and that causes error messages not shown in preview of VSCode.
Temporaly Solution (&problem)
As a temporaly solution, changing .stdout to .stderr in the following code will output message on preview.
(One thing I have to mention is that changing code would make erd-go v1.4.3 not showing error message so (unless you put both stdout and stderr))
What's going on
Error from
erd v0.2.0
is not shown in preview (screenshot below).Cause
It is due to that
erd
outputs error to stderr instead of stdout which assumed to be the old implementation and that causes error messages not shown in preview of VSCode.Temporaly Solution (&problem)
As a temporaly solution, changing
.stdout
to.stderr
in the following code will output message on preview.(One thing I have to mention is that changing code would make
erd-go v1.4.3
not showing error message so (unless you put both stdout and stderr))vscode-erd/src/previews/preview.ts
Lines 163 to 171 in 0d1d3c1
The text was updated successfully, but these errors were encountered: