These lines are more harmful than useful. In the rare case that an event
is passed to the Transmission#add method without an api_host, dataset
or writekey, it's far preferable to let the HTTP call fail than to
rudely throw an exception, which could happen in a critical path of a
request, causing a user visible error.
These lines are more harmful than useful. In the rare case that an event is passed to the Transmission#add method without an api_host, dataset or writekey, it's far preferable to let the HTTP call fail than to rudely throw an exception, which could happen in a critical path of a request, causing a user visible error.