mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Add console.log statement on error to help debug
- Geolocation is working in development, but not on staging or production
This commit is contained in:
parent
3d419c1f21
commit
e819ade8cb
@ -159,7 +159,6 @@ export default {
|
||||
this.cities = []
|
||||
return
|
||||
}
|
||||
|
||||
this.loadingGeo = true
|
||||
this.axiosSource = CancelToken.source()
|
||||
|
||||
@ -176,6 +175,10 @@ export default {
|
||||
.then(res => {
|
||||
this.cities = this.processCityResults(res)
|
||||
})
|
||||
.catch(error => {
|
||||
/* eslint-disable-next-line no-console */
|
||||
console.log(error)
|
||||
})
|
||||
.finally(() => {
|
||||
this.loadingGeo = false
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user