It's going to be dropped.
Signed-off-by: Luiz Capitulino <[email protected]>
---
error.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/error.c b/error.c
index acb10a2..cdeeafe 100644
--- a/error.c
+++ b/error.c
@@ -113,7 +113,7 @@ bool error_is_type(Error *err, const char *fmt)
end = strchr(ptr, '\'');
assert(end != NULL);
- error_class = error_get_field(err, "class");
+ error_class = qdict_get_str(err->obj, "class");
if (strlen(error_class) != end - ptr) {
return false;
}
--
1.7.11.2.249.g31c7954.dirty