li.shaoyi 1 mese fa
parent
commit
895602fd2a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/services/websocket/message.ts

+ 2 - 1
src/services/websocket/message.ts

@@ -40,11 +40,12 @@ export async function pushMessage50(pkg: Package50, contentType: 'encrypted' | '
         }
         case FunCode.OrderDealedNtf: {
             timerInterceptor.debounce(() => {
-                console.log('接收到委托单成交通知', pkg)
                 decodeProto<Proto.OrderDealedNtf>('OrderDealedNtf', content).then((data) => {
                     // 委托单成交通知
                     eventBus.$emit('OrderDealedNtf', data)
                     console.log('接收到委托单成交通知', data)
+                }).catch((e) => {
+                    console.log('委托单成交通知解析失败', pkg, e)
                 })
             }, delay, funCode.toString())
             break