Catching exception and logging it