mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
add multi-line scrolling support, timestamps to error view
This commit is contained in:
@@ -68,7 +68,7 @@ func (cs *ConnectorSuper) loop() {
|
||||
|
||||
conn, err := cs.connFn()
|
||||
if err != nil {
|
||||
cs.setError(fmt.Errorf("%s\n\nattempting to reconnect...", err))
|
||||
cs.setError(err)
|
||||
log.Errorf("failed to initialize connector: %s (%T)", err, err)
|
||||
log.Errorf("retrying in %ds", interval)
|
||||
time.Sleep(interval * time.Second)
|
||||
|
||||
Reference in New Issue
Block a user