Inline signature delete error check
Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
committed by
Bryan Frimin
parent
f7309c642a
commit
72c35a9967
@@ -395,8 +395,7 @@ WHERE
|
|||||||
}
|
}
|
||||||
maps.Copy(args, scope.SQLArguments())
|
maps.Copy(args, scope.SQLArguments())
|
||||||
|
|
||||||
_, err := conn.Exec(ctx, q, args)
|
if _, err := conn.Exec(ctx, q, args); err != nil {
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("cannot delete requested document version signatures: %w", err)
|
return fmt.Errorf("cannot delete requested document version signatures: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user