question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in Custom Plugin doesn't return Exit Code

See original GitHub issue

Great news! I have successfully created my own custom plugin and integrated into our pipeline. Bad news… when it fails, and exist code isn’t returned. That last 0 is the exit code at that point. image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
esausercommented, Dec 28, 2018

Another scenario is if an exception occurs within the plugin, but before the plugin even executes (so a try catch can’t capture and manually handle it). The process should not be returning a zero exit code and there is nothing I can do to change it. image

0reactions
stale[bot]commented, Oct 24, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to mark a compilation as failed and make webpack ...
I'd like to create a webpack plugin that checks the codebase and optionally marks the compilation as failed and caused webpack (if not...
Read more >
Rollup does not error when full plugin name is passed onto ...
Specifying a plugin name that does not have any effect should return an exit code 1. E.g. The following command should fail:.
Read more >
yum check-update with rhnplugin doesn't return correct exit ...
Issue. According to man page of "yum" exit code "0" means no packages are available for update and exit code "1" means an...
Read more >
OctoPrint wont install or update any plugins - exit code 1
I SSH'd into my OctoPi and did sudo apt-get update and sudo apt-get upgrade -y to try and fix this but issue persisted....
Read more >
Troubleshoot Dataverse plug-ins - Power Apps
This error simply means that the worker process running your plug-in code crashed. Your plug-in may be the reason for the crash, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found