fix marshaling body of ERROR_CONNECTION event
This commit is contained in:
1 parent
95adcb117c
commit
88c0779aa2
3 files changed
+4
-2
No files matched your search
@@ -1,3 +1,5 @@
|
||||
### v2.4.4
|
||||
* fix marshaling body of `ERROR_CONNECTION` event
|
||||
### v2.4.3
|
||||
* updated isp-lib
|
||||
* updated isp-event-lib
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ func SyncApplyCommand(command []byte) (interface{}, error) {
|
||||
|
||||
func FormatErrorConnection(err error) []byte {
|
||||
errMap := map[string]interface{}{
|
||||
"error": err,
|
||||
"error": err.Error(),
|
||||
}
|
||||
data, _ := json.Marshal(errMap)
|
||||
return data
|
||||
|
||||
Reference in new issue
Block a user