nicer promise rejection handler syntax