From 0e7311e1717edd312d371148f331fb558d9bcc4b Mon Sep 17 00:00:00 2001 From: andy finch Date: Thu, 4 Apr 2019 05:33:32 -0400 Subject: Non-fatal compile_sync failures (#2039) And model worker resources as Stream --- core/js_errors.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/js_errors.rs') diff --git a/core/js_errors.rs b/core/js_errors.rs index 442d8f1d8..dcd434e48 100644 --- a/core/js_errors.rs +++ b/core/js_errors.rs @@ -193,7 +193,10 @@ impl JSError { return None; } let v = v.unwrap(); + Self::from_json_value(v) + } + pub fn from_json_value(v: serde_json::Value) -> Option { if !v.is_object() { return None; } -- cgit v1.2.3