1
Vote

No use of try catch

description

If you setup a wrong configuration path (for the picture gallery) you WebPart page will crash. So you have to remove the Webpart first instead of just reedit the configuration. If you would use a simple try catch you would be able to access your page and webpart settings again. Also I don't think it supports gallery directory’s, but I’m not sure about that because I still have a “Length cannot be less than zero” error page. (again: no use of a try catch) Even if my library isn’t empty.

comments

bitterac wrote Jul 13, 2012 at 5:18 PM

thanks for pointing that out. On the Home page, I made this note: "Lastly, the validation was rushed. @kenschae gave me some great feedback on improving it and will try to incorporate that in a future build. "

There are several try/catch blocks used in the project, I'll let you know when I get around to it.

wrote Feb 14, 2013 at 2:52 AM