Added rescue for deploy function.