Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres Node does not output error branch #11572

Open
ShawnSack opened this issue Nov 5, 2024 · 1 comment
Open

Postgres Node does not output error branch #11572

ShawnSack opened this issue Nov 5, 2024 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@ShawnSack
Copy link

Bug Description

I am using the postgres node to update a row. If the row cannot be found, the result is an error. When I enable Continue on error using error output, no data is output to the error branch on error. I would like to create a handler for when a row is not found, but I can't do this if the error branch does not output the error.

image
image

To Reproduce

  1. Create Postgres Node
  2. Go to settings and set "On Error" to "Continue (using error output)"
  3. Create an update query that will yield no matching rows
  4. Set "Query Batching" to "Independently" (So I get an error per query)
  5. Attach a code node to error branch
  6. Execute

Expected behavior

Expect an output to error branch for each error encountered

Operating System

Ubuntu 22.04

n8n Version

1.65.2

Node.js Version

20

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Nov 5, 2024

Hey @ShawnSack,

We have created an internal ticket to look into this which we will be tracking as "GHC-395"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants