Unverified Commit e4f75024 authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Fix string type error issue (#1128)

parent 41de58c5
......@@ -203,7 +203,7 @@ class NNIRestHandler {
res.send();
} catch (err) {
// setClusterMetata is a step of initialization, so any exception thrown is a fatal
this.handle_error(err, res, true);
this.handle_error(NNIError.FromError(err), res, true);
}
});
}
......
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