Replies: 6 comments 3 replies
-
You can take a try on using logging, but we haven't tested it for now. To do so, pass a callback method |
Beta Was this translation helpful? Give feedback.
-
We also have support on debug message, but that's not current available in the python package written by @Zeroto521. To use that, you may need to manually {
"result": "list of result",
"debugMessage": "message"
} |
Beta Was this translation helpful? Give feedback.
-
By the way, do you think we shouldn't halt the plugin if stdout & stderr both contains message? |
Beta Was this translation helpful? Give feedback.
-
I was thinking about it. On one hand it would be nice not to halt so the plugin dev could list a result to handle the error (like an option to try again or open a GitHub issue). But if it's an unhandled error and the stdout is garbage how does the launcher handle that? |
Beta Was this translation helpful? Give feedback.
-
In my experience, there have two debug methods at present.
|
Beta Was this translation helpful? Give feedback.
-
With this method you could even provide a
I think some log output as long as it's labeled properly will be a good thing. Any user having an issue need only look at one file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to implement a method for logging directly to flow's log file?
Currently all stdout output invokes a Json parsing error. stderr output writes to the log but halts the plugin.
At this time
debug
method returns a parsing error as well.Best case scenario all output that's not Json just gets added to the log
Beta Was this translation helpful? Give feedback.
All reactions