Skip to content
Snippets Groups Projects
Commit aa7133b4 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

fixed missing part of print

parent 5b1c29c8
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ func (f Fact) Marshal() []byte { ...@@ -39,7 +39,7 @@ func (f Fact) Marshal() []byte {
func Unmarshal(b []byte) (Fact, error) { func Unmarshal(b []byte) (Fact, error) {
t := Type(b[0]) t := Type(b[0])
if !t.IsValid() { if !t.IsValid() {
return Fact{}, errors.Errorf("Fact is not a valid type: %s", ) return Fact{}, errors.Errorf("Fact is not a valid type: %s", t)
} }
f := string(b[1:]) f := string(b[1:])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment