no error logging when capistrano task can't clone the repo
tcrayford opened this issue · comments
Tom Crayford commented
if you give the github auth key incorrect permissions (and so cloning the repo 403s), then the gist output is empty, and there is no log anywhere of the error.
Two suggestions:
- always log stdout/stderr to
Rails.logger
when a job fails (I can PR my code for this if you'd like) - This shouldn't result in no gist output. Entirely unsure why that's the case.
Corey Donohoe commented
Yup, we should definitely get this fixed. There's a few cases where it never gets back to you and the output is really misleading.
devon blandin commented
I believe this should be resolved with #115.