Refactor fetch instance resource from API for error message generation#8
Refactor fetch instance resource from API for error message generation#8
Conversation
There was a problem hiding this comment.
Let's use Bunyan here. Also error cat create and report error and exit on cb
There was a problem hiding this comment.
move this above app.login, was a bug before, if listen error sync it will not get called.
There was a problem hiding this comment.
also where is onError ?!
There was a problem hiding this comment.
ahh nm, git diff messed me up
There was a problem hiding this comment.
Was confused by what you thought you were seeing....
There was a problem hiding this comment.
remove unless you plan on adding something in the near future
There was a problem hiding this comment.
I left it because yeah, I imagine it wont be long at all until I add something.
There was a problem hiding this comment.
if ports is undefined here, it causes an exception
There was a problem hiding this comment.
use req.instance.getBranchName() here
There was a problem hiding this comment.
This is null, which makes the links (view logs, go to container) not work
There was a problem hiding this comment.
That's weird that the comment wasn't on the full change...
|
LGTM |
Refactor fetch instance resource from API for error message generation
Refactor to fetch instance object directly from API for error display information generation.
Co-PR: CodeNow/navi#94
Review: