From a9861e116b92058a3f439f1f90aca222a2ec07b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 12 Nov 2019 12:45:25 +0100 Subject: [PATCH] bolcksync: set message in 203 response --- chain/blocksync/blocksync.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chain/blocksync/blocksync.go b/chain/blocksync/blocksync.go index fd352a9ea..81bd1920d 100644 --- a/chain/blocksync/blocksync.go +++ b/chain/blocksync/blocksync.go @@ -129,6 +129,7 @@ func (bss *BlockSyncService) processRequest(ctx context.Context, req *BlockSyncR log.Warn("encountered error while responding to block sync request: ", err) return &BlockSyncResponse{ Status: 203, + Message: err.Error(), }, nil }