Skip to content

Commit

Permalink
o
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed May 3, 2023
1 parent 0bcc017 commit bace45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scorper/http/streamserver.nim
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ macro acceptMime*(req: ImpRequest, ext: untyped, headers: HttpHeaders, body: unt
try:
{.cast(gcsafe).}:
r = req.server.privAccpetParser.match(accept, mimes)
except CatchableError as err:
except Exception as err:
await req.respError(Http500, err.msg, headers)
return
var ext {.inject.}: string
Expand Down

0 comments on commit bace45e

Please sign in to comment.