If exec fails, print the reason why