Skip to content

Commit

Permalink
Change exit code to 0 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpakos committed Feb 5, 2024
1 parent 34fd114 commit c4323cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ppslack/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.6"
__version__ = "3.3.0"
2 changes: 1 addition & 1 deletion ppslack/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ def main():
)
except Exception as e:
log.critical(e)
sys.exit(1)
sys.exit(0)
2 changes: 1 addition & 1 deletion ppslack/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
log = logging.getLogger(__name__)


class Slack(object):
class Slack:
def __init__(self):
try:
self._config = Config('ppslack')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pplogger
ppconfig
slack_sdk
slack_sdk

0 comments on commit c4323cf

Please sign in to comment.