Skip to content

Commit

Permalink
Elaborate tx not found error message even more
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Nov 21, 2022
1 parent a0f321d commit d97372b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/core/src/interactive_transactions/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub enum TransactionError {
#[error("Attempted to start a transaction inside of a transaction.")]
AlreadyStarted,

#[error("Transaction not found. Transaction ID is invalid or refers to an old closed transaction Prisma doesn't have information about anymore.")]
#[error("Transaction not found. Transaction ID is invalid, refers to an old closed transaction Prisma doesn't have information about anymore, or was obtained before disconnecting.")]
NotFound,

#[error("Transaction already closed: {reason}.")]
Expand Down

0 comments on commit d97372b

Please sign in to comment.