A change to add try/catch block

I added this try/catch block in order to get watchdog working with dexy, which creates, moves and deletes temporary directories in a watched directory and so causes exceptions in watchdog. This try/catch fixes this issue for me.