Add exception for db