fix: add error logging to empty catch blocks

This commit is contained in:
Kirill
2026-05-27 20:17:05 +05:00
parent 8f3bd7aa3b
commit f6414adf2f
26 changed files with 1590 additions and 34 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ apiClient.interceptors.request.use((config) => {
config.headers.delete('content-type')
}
return config
} catch {
} catch (err) {
console.warn('[api-client] Failed to set auth token', err)
return config
}
})