15 ms·
> Pushover's API might be unusual in that it is used by a wide range of devices (embedded IoT things ... If you did that, and no error handling was implemented
by madsbuch 3y ago
> Pushover's API might be unusual in that it is used by a wide range of devices (embedded IoT things ...
If you did that, and no error handling was implemented in the IoT device, it would merely result in a non-event that no one knows about.
In this specific instance, the author is doing the right thing. The developer will see truncated messages running through.
In the end it is a question on desired semantics. The semantics of the operation in question is obviously to truncate and process rather than fail.