feat(chalice): return cursor after re-creation
This commit is contained in:
parent
80da600ab8
commit
42c020e562
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class PostgresClient:
|
|||
except Exception as error:
|
||||
logging.error("Error while closing cursor for recreation", error)
|
||||
self.cursor = None
|
||||
self.__enter__()
|
||||
return self.__enter__()
|
||||
|
||||
|
||||
async def init():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue