Commit 19303741 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fd2a776b
...@@ -329,7 +329,7 @@ static error _parsePinReq(PinReq *pin, const rxPkt *pkt) { ...@@ -329,7 +329,7 @@ static error _parsePinReq(PinReq *pin, const rxPkt *pkt) {
// pin <foid>) #<blk> @<at> // pin <foid>) #<blk> @<at>
if (!strings::has_prefix(msg, "pin ")) if (!strings::has_prefix(msg, "pin "))
return fmt::errorf("not a pin request"); // XXX +msg? return fmt::errorf("not a pin request: '%s'", msg.c_str()); // XXX msg -> errctx ?
auto argv = strings::split(msg.substr(4), ' '); auto argv = strings::split(msg.substr(4), ' ');
if (argv.size() != 3) if (argv.size() != 3)
......
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