Add catching exception and add logging