diff --git a/docs/pyerrors/fits.html b/docs/pyerrors/fits.html
index a1d14821..212e858c 100644
--- a/docs/pyerrors/fits.html
+++ b/docs/pyerrors/fits.html
@@ -283,7 +283,7 @@
180 for i in range(42):
181 try:
182 func(np.arange(i), x.T[0])
-183 except Exception:
+183 except (IndexError, TypeError) as e:
184 continue
185 else:
186 break
@@ -425,7 +425,7 @@
322 for i in range(100):
323 try:
324 func(np.arange(i), 0)
-325 except Exception:
+325 except (IndexError, TypeError) as e:
326 continue
327 else:
328 break
@@ -552,7 +552,7 @@
449 for i in range(42):
450 try:
451 func(np.arange(i), x.T[0])
-452 except Exception:
+452 except (IndexError, TypeError) as e:
453 continue
454 else:
455 break
@@ -1179,7 +1179,7 @@ If True, a quantile-quantile plot of the fit result is generated (default False)
181 for i in range(42):
182 try:
183 func(np.arange(i), x.T[0])
-184 except Exception:
+184 except (IndexError, TypeError) as e:
185 continue
186 else:
187 break