frontend: Add linting for ts code
This commit is contained in:
parent
ddb4bb3546
commit
16fa721048
18 changed files with 2299 additions and 469 deletions
|
|
@ -61,6 +61,9 @@ func (am ActionMap) Handle(conn httpx.WebSocketConnection) (name string, err err
|
|||
} else {
|
||||
result.Success = false
|
||||
result.Message = err.Error()
|
||||
if result.Message == "" {
|
||||
result.Message = "unspecified error"
|
||||
}
|
||||
}
|
||||
|
||||
// encode the result message to json!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue