Commit a2d03079 authored by Tomas's avatar Tomas
Browse files

Properly convert RemoteStatus integer to string

parent c612b624
......@@ -4,6 +4,7 @@ import (
"encoding/base64"
"encoding/json"
"math/big"
"strconv"
"strings"
"bytes"
......@@ -155,7 +156,7 @@ func (e *SessionError) Error() string {
}
if e.RemoteStatus != 200 {
buffer.WriteString("\nStatus code: ")
buffer.WriteString(string(e.RemoteStatus))
buffer.WriteString(strconv.Itoa(e.RemoteStatus))
}
if e.RemoteError != nil {
buffer.WriteString("\nIRMA server error: ")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment