We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a web app in prod an every once in a while an IndexDefect will occur. Don't think it's my code and I'm a little unsure as how to diagnose?
ERROR IndexDefect: index out of bounds, the container is empty Async traceback: /mnt/c/Users/.../Desktop/Projects/nimAuxChord_2/app.nim(131) app /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/application.nim(538) run /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/application.nim(533) run /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/beast/server.nim(31) serve /mnt/c/Users/.../.nimble/pkgs2/httpx-0.3.7-6e0fc3133fbd20530d53ab2792e93d3151387b10/httpx.nim(682) run /mnt/c/Users/.../.choosenim/toolchains/nim-2.0.0/lib/system.nim(568) eventLoop /mnt/c/Users/.../.nimble/pkgs2/httpx-0.3.7-6e0fc3133fbd20530d53ab2792e93d3151387b10/httpx.nim(478) processEvents /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/application.nim(534) :anonymous /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/application.nim(501) handleRequest /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/application.nim(460) handleContext (Async) /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/middlewaresbase.nim(48) switch (Async) /mnt/c/Users/.../.choosenim/toolchains/nim-2.0.0/lib/pure/asyncmacro.nim(293) :anonymous /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/middlewares/staticfile.nim(33) anonymous (Async) /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/middlewaresbase.nim(48) switch (Async) /mnt/c/Users/.../.choosenim/toolchains/nim-2.0.0/lib/pure/asyncmacro.nim(293) :anonymous /mnt/c/Users/.../Desktop/Projects/nimAuxChord_2/app.nim(71) anonymous (Async) /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/middlewaresbase.nim(51) switch (Async) /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/route.nim(506) findHandler /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/route.nim(483) findHandler /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/route.nim(473) findHandler /mnt/c/Users/.../.nimble/pkgs2/prologue-0.6.4-60e959a0e99a1e8fccca9d05440080651b74bccd/prologue/core/route.nim(138) ensureCorrectRoute /mnt/c/Users/.../.choosenim/toolchains/nim-2.0.0/lib/system/indices.nim(0) [] /mnt/c/Users/.../.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim(53) sysFatal Exception message: index out of bounds, the container is empty
task prod , "Build server in production mode": --stackTrace : on --lineTrace : on --forceBuild : on --threads : off --mm : orc --deepcopy : on --hints : off --outdir : "." # Defines # --define : release --define : ssl setCommand "c" , "app.nim"
64 | proc blocklistMiddleware* : HandlerAsync = 65 | result = proc(ctx: Context) {.async.} = 66 | if ctx.request.body.strip() in blocked: 67 | resp abort() 68 | return 69 | 70 | # do something before 71 | await switch(ctx)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a web app in prod an every once in a while an IndexDefect will occur.
Don't think it's my code and I'm a little unsure as how to diagnose?
The text was updated successfully, but these errors were encountered: