1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00

send client error if it exists

This commit is contained in:
Asim Aslam
2019-08-15 15:22:53 +01:00
parent b776fbb766
commit f6b8045dd5
2 changed files with 17 additions and 0 deletions

View File

@ -126,6 +126,7 @@ func setHeaders(m *codec.Message) {
set("Micro-Service", m.Target)
set("Micro-Method", m.Method)
set("Micro-Endpoint", m.Endpoint)
set("Micro-Error", m.Error)
}
// setupProtocol sets up the old protocol