fix: tool server save error handling
This commit is contained in:
1 parent
286a5ad0db
commit
b2a6597617
1 file changed
+1
@@ -284,6 +284,7 @@
|
||||
headers = JSON.stringify(_headers, null, 2);
|
||||
} catch (error) {
|
||||
toast.error($i18n.t('Headers must be a valid JSON object'));
|
||||
loading = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user