fix: error handle

This commit is contained in:
karishmas6
2024-10-26 19:09:41 +05:30
parent 7b2b50392b
commit 10b522ed06

View File

@@ -85,7 +85,7 @@ const ProxyForm: React.FC = () => {
console.log(`Failed to submit proxy configuration. Try again. ${response}`)
}
} catch (error: any) {
notify('Failed to submit proxy configuration', error);
notify('error', `${error} : Failed to submit proxy configuration`);
}
};