sanic icon indicating copy to clipboard operation
sanic copied to clipboard

Fixed `mixins.startup.serve` UnboundLocalError.

Open pygeek opened this issue 6 months ago • 3 comments

Fixes https://github.com/sanic-org/sanic/issues/2985

the finally block in mixins.serve references a variable that is only defined in the try block. This results in a UnboundLocalError within the finally block.

pygeek avatar Jul 31 '24 01:07 pygeek