aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-07-01 17:32:06 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-07-01 17:32:06 -0400
commitc2e7f7a7129fc5366a4cad337fcd6ae319a58ce5 (patch)
tree86d0ccdd3ad6d5ecc85263a51cddf8ea9ba30547 /src/libutil/util.cc
parentb798efb829415eb47a532e9479523afdff74eca7 (diff)
Fixed build, we still have test errors
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 1268b146a..ed43c403f 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -1433,7 +1433,7 @@ string base64Decode(std::string_view s)
char digit = decode[(unsigned char) c];
if (digit == -1)
- throw Error("invalid character in Base64 string");
+ throw Error("invalid character in Base64 string: '%c'", c);
bits += 6;
d = d << 6 | digit;