set error on status: not connected to db