mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 19:07:46 +01:00
fix: tool server save error handling
This commit is contained in:
@@ -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