Log request path in FallbackController
This commit is contained in:
parent
8f58e9abe9
commit
8308a749e9
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ namespace Iceshrimp.Backend.Controllers;
|
|||
public class FallbackController : Controller {
|
||||
[ProducesResponseType(StatusCodes.Status501NotImplemented, Type = typeof(ErrorResponse))]
|
||||
public IActionResult FallbackAction() {
|
||||
throw new GracefulException(HttpStatusCode.NotImplemented, "This API method has not been implemented");
|
||||
throw new GracefulException(HttpStatusCode.NotImplemented,
|
||||
"This API method has not been implemented", Request.Path);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue