Ortharion
PPrisma
•Created by Ortharion on 9/11/2024 in #help-and-questions
Bad error messages with array of transactions
Sure. Thanks
9 replies
PPrisma
•Created by Ortharion on 9/11/2024 in #help-and-questions
Bad error messages with array of transactions
I'm pretty sure this is a bug report and not a request for help. But I wanted to make sure I didn't miss something in the docs somewhere about how to properly manage errors when using an array of prisma promises in a $transaction
9 replies
PPrisma
•Created by Ortharion on 9/11/2024 in #help-and-questions
Bad error messages with array of transactions
And the schema isn't super important here. I intentionally put a bad property to force the error. Getting an error isn't the issue, it's when we have errors, prisma is NOT bubbling the correct information.
9 replies
PPrisma
•Created by Ortharion on 9/11/2024 in #help-and-questions
Bad error messages with array of transactions
Apologies, I thought I was doing that approach?
Oh I didn't put the actual line of the transaction.
9 replies
PPrisma
•Created by Ortharion on 9/11/2024 in #help-and-questions
Bad error messages with array of transactions
Actual prisma error
9 replies
PPrisma
•Created by Ortharion on 8/15/2024 in #help-and-questions
Invalid error message when using transactions
bump
5 replies
PPrisma
•Created by Ortharion on 8/15/2024 in #help-and-questions
Invalid error message when using transactions
And this is kind of frustrating b/c obviously when this endpoint has issues, it's a big deal b/c our mobile app users are no longer able to push data to the database. So being able to quickly isolate the issue is important.
5 replies
PPrisma
•Created by Ortharion on 4/25/2024 in #help-and-questions
Transaction timeout
Yep, that fixed...but why lol
7 replies
PPrisma
•Created by Ortharion on 4/25/2024 in #help-and-questions
Transaction timeout
ok i think I might have figured it out. I wrote that endpoint a while back and forgot I had some transactions nested in some of the functions in addUser. So I think transactions within transactions is illegal. However, why does this work on local?
7 replies
PPrisma
•Created by Ortharion on 4/25/2024 in #help-and-questions
Transaction timeout
Sorry should have added that. Think I was just frustrated after being stumped all day.
I've checked and this only fires once.
7 replies