UpdDir try|catch block
Merge pull request #2 from eduard93/master

UpdDir try|catch block