more logging information
Adding  db error msg