0

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

Drazen Dotlic
 

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.
Read more
Read less
  Cancel
Your app looks great!!
 

But I could not get it working with my tmobile number. I am running it on my local host. Should that be a problem?
Read more
Read less
  Cancel
Lars Pind
 

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.
Read more
Read less
  Cancel
rick
 

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...
Read more
Read less
  Cancel

Leave a comment