mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 03:17:46 +01:00
fix: tool server save error handling
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user