Fix: Catch exception on getSensorData.