Commit 699c79ff authored by Tristan Cavelier's avatar Tristan Cavelier

RELATIONERROR instanceof

parent 62581087
......@@ -403,7 +403,8 @@
ul.appendChild(fragment_element);
});
}, function (error) {
if (error && error.hash &&
if (error instanceof Error &&
error.hash &&
error.hash.expected &&
error.hash.expected.length === 1 &&
error.hash.expected[0] === "'QUOTE'") {
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>977.6116.5930.9932</string> </value>
<value> <string>977.6117.6830.21572</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1563200946.23</float>
<float>1563260997.53</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment