We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8da062 commit bad9aecCopy full SHA for bad9aec
ellar_cli/scaffolding/project_template/project_name/root_module.ellar
@@ -7,4 +7,4 @@ from ellar.samples.modules import HomeModule
7
class ApplicationModule(ModuleBase):
8
@exception_handler(404)
9
def exception_404_handler(cls, ctx: IExecutionContext, exc: Exception) -> Response:
10
- return JSONResponse(dict(detail="Resource not found."), status_code=404)
+ return JSONResponse({"detail": "Resource not found."}, status_code=404)
0 commit comments