Added promise reject with exceptions