fablabbcn / smartcitizen-api

The Smart Citizen Engine
https://developer.smartcitizen.me
GNU Affero General Public License v3.0
10 stars 4 forks source link

set sentry scopes properly in rake tasks #270

Closed timcowlishaw closed 11 months ago

timcowlishaw commented 11 months ago

This ensures that the Sentry scope is reset on each new telnet or mqtt message ,for easier tracing of errors. @oscgonfer I've tested in staging and it looks good, if we could push to production when you have a sec it'd be super useful!