Log an error message when changing shells fails