add multi-line scrolling support, timestamps to error view

This commit is contained in:
Bradley Cicenas
2019-05-22 17:38:01 +00:00
parent 98fcfe8b6f
commit 0a5a4c9062
3 changed files with 35 additions and 12 deletions

View File

@@ -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)