mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
fix: tool server save error handling
This commit is contained in:
parent
286a5ad0db
commit
b2a6597617
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue