auth init
This commit is contained in:
1 parent
faa2e70e08
commit
413aeedadf
29 files changed
+2854
-649
No files matched your search
@@ -0,0 +1,13 @@
|
||||
export function logAxiosError(e) {
|
||||
console.warn({
|
||||
status: e.response.status,
|
||||
statusText: e.response.statusText,
|
||||
url: e.config.url,
|
||||
data: e.response.data,
|
||||
rateLimiting: {
|
||||
limit: e.response.headers['x-discogs-ratelimit'],
|
||||
remaining: e.response.headers['x-discogs-ratelimit-remaining'],
|
||||
used: e.response.headers['x-discogs-ratelimit-used'],
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user