1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

Fixed build, we still have test errors

This commit is contained in:
Carlo Nucera 2020-07-01 17:32:06 -04:00
parent b798efb829
commit c2e7f7a712
3 changed files with 34 additions and 18 deletions

View file

@ -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;