[enh] display extra message info about state
This commit is contained in:
@@ -12,7 +12,8 @@ export function webappServe(watchers: Watcher[], host = 'localhost', port = 1050
|
||||
res.send(watchers.map(watcher => {
|
||||
return {
|
||||
name: watcher.name,
|
||||
state: watcher.state
|
||||
state: watcher.state,
|
||||
message: watcher.error,
|
||||
}
|
||||
}))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user