Unverified Commit 3d92cb1e authored by themylogin's avatar themylogin Committed by GitHub
Browse files

Merge pull request #33 from truenas/fix-yaml-dialog

NAS-112535 / 21.10 / Display nice error in YAML error dialog
Showing with 1 addition and 1 deletion
+1 -1
......@@ -153,7 +153,7 @@ class GenericCallCommand(CallMixin, CommonSyntaxCommand):
else:
return
except ClientException as e:
if self.context.editor.on_error("Error", e.error):
if self.context.editor.on_error("Error", self._handle_error(e)):
continue
else:
return
......
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