FIX: Better message when form action handler not found.

Fixes #4622 to some extent, although this fix will be most useful when
https://github.com/silverstripe/silverstripe-errorpage/issues/30 is
addressed also.
This commit is contained in:
Sam Minnee 2019-05-27 15:00:10 +12:00
parent 5851979096
commit 983d36b7ee

View File

@ -260,7 +260,7 @@ class FormRequestHandler extends RequestHandler
);
}
return $this->httpError(404);
return $this->httpError(404, "Could not find a suitable form-action callback function");
}
/**