-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Bug] dbt clone
not redirecting exception to logs
#10101
Comments
Thanks for reporting this @jp-dbt ! Root causeIt appears that the root cause is See below for the details of an extremely simple reproducible example.
|
dbt clone
sends errors to stderr instead of stdoutdbt clone
not redirecting exception to logs
Is this a new bug in dbt-core?
Current Behavior
Any errors that occur while running
dbt clone
are written to stderr instead of stdout.Expected Behavior
Any errors that occur while running
dbt clone
are written to stdout, which is the case for other dbt commands.Steps To Reproduce
dbt parse 1>out.txt 2>err.txt
. Theout.txt
file contains the whole output including the error whileerr.txt
is emptydbt clone 1>out.txt 2>err.txt
. Theout.txt
file contains the non-error dbt output and err.txt contains the error and stacktraceRelevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
Possibly related: errors during
dbt clone
are not written to thedbt.log
file.The text was updated successfully, but these errors were encountered: