forgot to logging erorrs to db