inital working version for review

@jarv @feanil 
Is it intentional to log the error for any generic exception and continue here without raising it?