-
Notifications
You must be signed in to change notification settings - Fork 7
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
Pass down error log #76
Comments
The error logs of periphery is written in your log. Isn't it enough?
This error is from here https://github.com/peripheryapp/periphery/blob/2173f0d5cb09bf5708776224b0b56f239dbff3f5/Sources/XcodeSupport/Xcodebuild.swift#L76 |
@manicmaniac Not really as exit code 74 is really broad. Seems like we don't spit out the stdout here( danger-periphery/lib/periphery/runner.rb Line 16 in 4fd02a1
when the exception is raised so all the detailed logs is never printed out. Also this is possibly a separate issue but sending down |
Hmm... let me get this straight.
This message includes all output from stderr. I agree exit status '74' is so broad but that is the raw text from
As you say
Yes, passing Generally speaking, I agree that If you have a good idea, I'm welcome to hear that or you can open a pull request. |
"Yes, passing verbose: true option to periphery.scan is passed through to Periphery executable so danger-periphery doesn't recognize it. In other words, there's no "verbose" option in danger-periphery now." It would be nice to be able to override this. I'm trying to debug an issue right now where I see no output at all on my CI machines, while running danger locally detects one violation. It's hard to tell if periphery is even running on the CI machines. |
When the scan step fails due to an error, The error logs of periphery should spill through in the danger log so it's easy to review. Currently it just returns the exit code and the log exits out
The text was updated successfully, but these errors were encountered: