Added exception handling to promises module