-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using console log in global scope crashes the execution #160
Comments
https://www.alfredforum.com/topic/9170-alfred-3-tip-use-stderr-to-output-to-the-debug-console/ |
I also don't understand how do you "console debug" anything using alfy without effectively breaking the workflow execution. Any of the alfy/console logs will break the execution of the workflow:
You will see the various log messages and The big question here is how do you add debug log but at the same time don't crash the workflow execution? |
I'm also confused as to how this is supposed to work. I understand that FYI... If I comment out the following line in Alfy, everything works as expected:
Alfy seems to be trying to do two conflicting things with regards to stderr: |
Any time any console logs are attempted, it crashes the execution context.
Here is minimum reproducable code:
Uncomment any console log line and I am getting this crash
The text was updated successfully, but these errors were encountered: