PelionIoT / mbed-connector-api-python

python library for using connector.mbed.com
Apache License 2.0
2 stars 2 forks source link

Throw error when there is no notification channel #12

Open janjongboom opened 8 years ago

janjongboom commented 8 years ago

If there's no notification channel set from this app (via startLongPolling or by setting the callbackURL) we should throw an error when you use the API.

By accident my long polling function wasn't called and I saw all kinds of crazy bugs because of that. Started to doubt my sanity.

BlackstoneEngineering commented 8 years ago

I agree, adding this to the todo pile