mattermost-community / mattermost-plugin-aws-SNS

Plugin that receives SNS notification from Alerts created by AWS CloudWatch and sent via AWS SNS
Apache License 2.0
21 stars 22 forks source link

Fix panic if slash command args are empty #52

Closed hanzei closed 3 years ago

hanzei commented 3 years ago

Summary

Given that only one command is supported I opted for a quick solution. The proper way would be to return a help text in that case. But I don't think it's worth for this simple command.

Ticket Link

Fixes https://github.com/mattermost/mattermost-plugin-aws-SNS/issues/51