fix marshaling body of ERROR_CONNECTION event

This commit is contained in:
Maxim Merzhanov committed 2021-01-15 16:05:47 +03:00
1 parent 95adcb117c
commit 88c0779aa2
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
2.4.3
2.4.4
+2
View File
@@ -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
View File
@@ -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