You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most importantly, the true error message is burried inside and not bubbled up to stderr without -d. I suspect that other possible start errors are getting "eaten" the same way. Lets never forget, that -d is not something users should be normally using, i.e. errors must show up nicely without -d.
Bonus point
Notice how the "DEBUG" message is long, crazily detailed and escaped, i.e. newlines are replaced with \n. Why?
We already have "ERROR REPORT" whose purpose is to basically print stack dump.
The output seems excessive, unreadable and will make a toll on our support (try copy/pasting this into anything, even in this ticket it's a long/unreadable line)
Do we do this often? If we do, why not keep newlines as-is. And if not, why bother printing it at all, is "ERROR REPORT" not enough?
The text was updated successfully, but these errors were encountered:
Problem
Teleport daemon is not reporting errors properly without
-d
(debug) flag. This makes it impossible for new users to troubleshoot effectively.Here's an example:
Get a fresh machine without
/var/lib/teleport
and execute:It will print "Initializing teleport" and will exit.
Try the same thing with
-d
and you'll notice:The list of issues
Priority 1 Issue
Most importantly, the true error message is burried inside and not bubbled up to
stderr
without-d
. I suspect that other possible start errors are getting "eaten" the same way. Lets never forget, that-d
is not something users should be normally using, i.e. errors must show up nicely without-d
.Bonus point
Notice how the "DEBUG" message is long, crazily detailed and escaped, i.e. newlines are replaced with
\n
. Why?Do we do this often? If we do, why not keep newlines as-is. And if not, why bother printing it at all, is "ERROR REPORT" not enough?
The text was updated successfully, but these errors were encountered: