QuackFuzed.com is the personal ColdFusion coding blog of Matt Quackenbush. It exists primarily as a place for the author to learn, and hopefully to assist others in learning and/or avoiding some of the same pitfalls and mistakes. (Quack certainly makes enough mistakes daily to make up for the entire ColdFusion community.)

Integrating Mura CMS and Hoth Exception Tracker for ColdFusion

Posted on June 7, 2011 at 11:56 AM in ColdFusion

A few months back Aaron Greenlee released his Hoth project, which is an exception tracking/reporting application for CFML. I've been wanting to find time (let me know if you've ever found time) to take a look at it, but haven't had a chance. Until now, that is.

[Continue Reading]

Comments
(Comment Moderation is enabled. Your comment will not appear until approved.)

On 8/2/11 at 8:49 PM, Michael Evangelista said:

I've been wanting to check out Hoth, and add my own cfmail error handling to Mura for quite a while. This looks like just the thing for both, I'll give it a shot, thanks!

On 8/2/11 at 9:59 PM, Matt Quackenbush said:

@ Michael - Hope it helps! I keep meaning to come back and do a follow-up post, as we've had to tweak a couple of things, but Hoth is definitely a nice addition to Mura. :-)

(Namely, we've added a check for local development environment and just dump the exception rather than wasting time by sending it to Hoth. We've also added a check to make sure that the page causing the exception is not the friendly error message page, since you end up in an endless redirect loop if it is.)

On 8/3/11 at 3:33 AM, Michael Evangelista said:

This worked great! I got hung up a little on the reporting display page for Hoth, because of where I put the files within my mura site. (i wanted to put the entire Hoth folder inside the "display_objects/custom/" directory so it could be bundled along with a site on export, but Mura didn't let me get direct access to the .cfc from there.) Instead, I have it in [mura root]/requirements/ which seems to work just fine, once i got the paths sorted out. Very nice, thanks for detailing the steps so well. (p.s. i've subscribed to comments on this post, so if you get a chance to update with your newest tweaks, be sure to add a comment!)

On 10/22/11 at 7:06 PM, Greg Moser said:

@Matt,

First and foremost, great post. I liked it so much in fact I actually just hammered out a quick Mura plugin for Hoth that can be found here (https://github.com/gregmoser/MuraHoth). Hopefully you might find it useful going forward. I'd be interested to hear any feedback you might have as well.

On 2/9/12 at 1:41 AM, Mike Schierberl said:

Did you ever make any progress or get a response on the debugging bubbling up to the view? I was scratching my head on this for way too long earlier today. It seems like errors that occur within the body should fire the error events.

On 2/9/12 at 6:12 AM, Matt Quackenbush said:

@ Mike - There were a number of bugs that were fixed surrounding the error handling in Mura, but I honestly don't recall whether that was one of them. I would make sure you have a recent Mura version (5.6.x?) and, if the issue still exists, post to that forum thread and hope you get a reply. :-)

Sorry I don't have a better answer for you. It has been a really long time since I've looked at this stuff, and my memory isn't the best. :-(

On 8/24/12 at 11:42 PM, Justin said:

I've search all over the web, and have not found a way to temporarily turn off HOTH. I would like to see the raw error if I am the person that creates the error. In my other application I simply ignored error handling based on my session info.

Can this be done easily with Hoth?

On 8/29/12 at 4:42 PM, Matt Quackenbush said:

@ Justin - Temporarily disabling Hoth would be done just like you'd disable any other error handling. For example, wrap the call to HothTracker.track() with an if() that checks to see if it's your IP, or if the server IP is 127.0.0.1. If it is, just dump the error and abort. Otherwise, send it over to Hoth for handling.

On 9/12/12 at 7:22 PM, Justin said:

@Matt, worked like a charm. I have a situation where I need to capture the SESSION data, I've tried altering the HothTracker.cfc but doesn't seem to add it anywhere. Have you came across this and if so do you have a simple work around?

On 10/31/12 at 6:43 PM, Matt Quackenbush said:

@ Justin - Sorry I somehow missed your comment coming in. I've never had a need for session info, so I'm not sure on that one. I would recommend posting to the Hoth Google Groups list. Hopefully Aaron (or someone else) will have already done what you're needing to do. HTH!
CodeBassRadio

Latest Articles

Eventually something really brilliant and witty will appear right here.

Calendar

June 2011
S M T W T F S
« May   Jul »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Subscribe

Enter a valid email address.

The Obligatory Wish List