message: firebase: add catch error for request in getIPInfo
diff: @@ -24,14 +24,19 @@ const authorisation = () =>
  )
  const getIPInfo = () =>
  - new Promise(async (resolve) => {
  - const ipInfo = await request.get('https://json.geoiplookup.io')
  + request
  + .get('https://json.geoiplookup.io')
  + .then(({ ip, country_code }) => ({
  + ip,
  + locale: country_code,
  + }))
  + .catch((error) => {
  + console.error('getIPInfo:', error)
  - const resultData = {
  - ip: ipInfo.ip,
  - locale: ipInfo.country_code === 'NO' ? 'EN' : ipInfo.country_code,
  + return {
  + ip: 'None',
  + locale: 'EN'
  }
  - resolve(resultData)
  })
  const sendData = (userId, dataBasePath, data, isDefault = true) =>
  