Added exception logging to directory updated form