fix: add error logging to empty catch blocks
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user