Samagra-Anamaya / frontend

https://workflow-wrapper-omega.vercel.app
0 stars 0 forks source link

[Fix] - Identify error thrown in block handleSubmit #116

Open amit-s19 opened 8 months ago

amit-s19 commented 8 months ago

Some of the errors encountered in this block have not been identified yet. I suspect it may be a problem caused in the internal working of some functions like imageCompress or Localforage.

Few Examples :

Application failure:
Environment: production
Application: Stride App
Error occurred while processing request:

{
"appVersion": "0.1.37",
"deviceInfo": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36",
"timestamp": 1707479295084,
"quota": "32359.47479 MB",
"usage": "43.636691 MB",
"available": "32315.838099 MB",
"meta": "at handleSubmit citizenSurveyPage inside catch",
"gpId": "gp_121686",
"error": "[object ProgressEvent]"
}
Application failure:
Environment: production
Application: Stride App
Error occurred while processing request:

{
"appVersion": "0.1.37",
"deviceInfo": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36",
"timestamp": 1707466897796,
"quota": "30341.78519 MB",
"usage": "53.959628 MB",
"available": "30287.825562 MB",
"meta": "at handleSubmit citizenSurveyPage inside catch",
"gpId": "gp_119270",
"error": "Cannot read property 'name' of undefined"
}