For what values of the constant $c$ does the graph of $f(x) = \frac{x^2-x+c}{x^2+8x-50}$ have exactly one vertical asymptote?
Enter all possible values, separated by commas.