sensu/sensu-plugin — pull request #41 by baldur (2013-06-20 19:49:50+00:00)
Title: Add rescue for invalid options

adds rescue for invalid options passed to scripts on the cli. If this is not in place the call on check raises error which confuses the user and it's hard to discover what the actual problem is. I had some challenges testing this as I am not used to the code base ... and I assume there is a more intelligent way of accomplishing this.

To replicate basically add a script that has wrong parameter

"command": "some_check.rb --silly parameter"