show error messages when savefig fails