Mitchell Amihod
06/17/2021, 2:12 AMThis error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Can't reach database server at `my-host-here`:`5432`
Please make sure your database server is running at `my-host-here`:`5432`.
at LineStream.<anonymous> (/app/node_modules/@prisma/client/runtime/index.js:27666:31)...
Prisma client 2.25.0 // Any advice how I should handle this? Using it in the context of nestjs? is there a way to configure a retry with prisma client?Ryan
06/17/2021, 5:32 AMjanpio
janpio
janpio
Mitchell Amihod
06/17/2021, 12:55 PMMitchell Amihod
06/17/2021, 12:57 PMMitchell Amihod
06/17/2021, 12:58 PMDid this really just change with the update? Nothing else changed?
not sure - i can try downgrading to 2.23 and see if it persists.Mitchell Amihod
06/17/2021, 12:59 PMjanpio
janpio
Mitchell Amihod
06/17/2021, 1:16 PMMitchell Amihod
06/17/2021, 1:20 PMRyan
06/17/2021, 1:23 PMprisma.$connect()
with a retry interval as a workaround.Mitchell Amihod
06/17/2021, 1:25 PM