posted on
Tuesday, December 25, 2007 12:29 AM |
I knew my background solution worked too flawlessly. Always be afraid when you code something with no bugs in it. I thought I tested this locally but it turns out I didn't since if you viewed an article, it would throw a hard exception. I think it is since I did a Server.MapPath. I remember adding that in at the very end so I'm betting I tested my solution before this was added in. No matter what, I see 2 easy improvements I could do on that code. 1st is create a string for the Server.MapPath and the 2nd is do a Directory.Exists(mapPath) if statement. This will prevent the source from bombing.
Crap.
Since it is technically Christmas, I'm going to hold off fixing the problem. I don't want Santa to find me still awake at 3:00am. For now I reverted the skin back to the modified Origami skin that comes with SubText.