RELEASE: ExceptionTextable Rails plugin

I’ve released a plugin, out of my latest project, that will notify you by SMS when there are errors on your server. It is the same idea as Jamis Buck’s excellent Exception Notifier plugin, but specially designed for SMS in the following ways:



  • Messages are much shorter, making them more suitable for cell phones
  • Messages are throttled so you don’t get too many
  • It can be extended with alternative gateways


You can use it with both US-style email gateways, as well is Clickatell, a for-money gateway that can send to European-based cell phones. If you write other gateways, or have changes to the email one, which I haven’t actually tested in real use.



To install simply say:



script/plugin source http://svn.pinds.com/rails/plugins
script/plugin install exception_textable


See the README for more details.



Enjoy!

4 comments

Great stuff! I just finished reading Rails Recipes and noticed how exception_notifiable did not include other ways to inform a developer about a "crash" in the production environment. I thought - why not add SMS support? Google search yielded this page first - very nice! I think the best route would be to try to persuade the Rails guys to include this into the exception_notifiable plugin, so that the basic mechanism stays the same while the delivery backend can vary.
By Drazen Dotlic on Thu, Jul 13, 06 at 11:12 · Reply
  Cancel
But I could not get it working with my tmobile number. I am running it on my local host. Should that be a problem?
By Your app looks great!! on Thu, Jul 13, 06 at 11:12 · Reply
  Cancel
Not that I'm aware of. Have you tried sending an email directly to your phone if you're in the US? Or are you using clickatell? They have an email gateway as well, so you can test that way.
By Lars Pind on Thu, Jul 13, 06 at 11:12 · Reply
  Cancel
Interesting... Perhaps it's finally time to merge the various exception notification plugins. I keep my errors in the db and read them with rss, for example...
  Cancel

Leave a comment