dji_mqtt_connect 0.1.19 → 0.1.19.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ec559ec41ade3aae5f2cf475b97c0b75b92b5ca39395309130541520c5f80d3
|
4
|
+
data.tar.gz: 8a12acbad4c9b24e2eaf57b90b4e22d552744bc789214b21c29f80ada4b3f3be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a4ea7ffd4f6be556b33ec294625bac195cfc31d1cb2c7c5e1138c17dd86b9fbf919b74e4f231f669d98780d4fbb22b71af2930f4e609f5dcc337d4907035236
|
7
|
+
data.tar.gz: b158d890c65df2206b792bc1715a26f4e7493c9659e56c4d94934999648b0664727a6e7177861acc05ed9c02edd9be4d68b82d64199716ec48487cfc05254f87
|
data/Gemfile.lock
CHANGED
@@ -75,6 +75,9 @@ module DjiMqttConnect
|
|
75
75
|
raise ParseError.new(e, "Unable to parse message as JSON")
|
76
76
|
rescue Dry::Struct::Error => e
|
77
77
|
raise ParseError.new(e, "Unexpected #{message_class} payload")
|
78
|
+
rescue TypeError => e
|
79
|
+
# FIXME: airsense messages have data as an array, this breaks a lot of code...
|
80
|
+
raise ParseError.new(e, "Unable to parse message")
|
78
81
|
end
|
79
82
|
|
80
83
|
private
|