mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +00:00
DMX-23 not throwing invalid data
This commit is contained in:
parent
8fed61f78c
commit
8bc4d9dd3d
1 changed files with 2 additions and 4 deletions
|
@ -50,8 +50,7 @@ IpMethod parseIpMethod(String ipMethod)
|
|||
return DHCP;
|
||||
}
|
||||
|
||||
// FIXME: concat strings
|
||||
throw ::std::invalid_argument("Invalid IP method value" + ipMethod);
|
||||
throw ::std::invalid_argument("Invalid IP method value");
|
||||
}
|
||||
|
||||
Connection parseConnection(String connection)
|
||||
|
@ -69,8 +68,7 @@ Connection parseConnection(String connection)
|
|||
return Ethernet;
|
||||
}
|
||||
|
||||
// FIXME: concat strings
|
||||
throw ::std::invalid_argument("Invalid connection value: " + connection);
|
||||
throw ::std::invalid_argument("Invalid connection value");
|
||||
}
|
||||
|
||||
Direction parseDirection(uint8_t direction)
|
||||
|
|
Loading…
Add table
Reference in a new issue