mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +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);
|
headers = JSON.stringify(_headers, null, 2);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
toast.error($i18n.t('Headers must be a valid JSON object'));
|
toast.error($i18n.t('Headers must be a valid JSON object'));
|
||||||
|
loading = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue