mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Return error on marshaling issues
This commit is contained in:
parent
c1c36036ae
commit
f2fda4f906
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ func (h *Headscale) marshalResponse(
|
||||||
Caller().
|
Caller().
|
||||||
Err(err).
|
Err(err).
|
||||||
Msg("Cannot marshal response")
|
Msg("Cannot marshal response")
|
||||||
|
|
||||||
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if machineKey.IsZero() { // if Noise
|
if machineKey.IsZero() { // if Noise
|
||||||
|
|
Loading…
Reference in a new issue