add more details on errors