Add promise reject handler to React route