Compare commits

..

No commits in common. "345dfbaa21c05b4b8cd1d4137da0496e526bab81" and "59b14301ad5de757ed9e246f76261d85993a397d" have entirely different histories.

3 changed files with 3 additions and 10 deletions

View File

@ -1217,7 +1217,6 @@ func (h *Handlers) GetCurrentProfileInfo(ctx context.Context, sym string, input
res.Content = "Not provided" res.Content = "Not provided"
break break
} }
logg.ErrorCtxf(ctx, "Failed to read first name entry with", "key", "error", common.DATA_FIRST_NAME, err)
return res, err return res, err
} }
res.Content = string(profileInfo) res.Content = string(profileInfo)
@ -1228,7 +1227,6 @@ func (h *Handlers) GetCurrentProfileInfo(ctx context.Context, sym string, input
res.Content = "Not provided" res.Content = "Not provided"
break break
} }
logg.ErrorCtxf(ctx, "Failed to read family name entry with", "key", "error", common.DATA_FAMILY_NAME, err)
return res, err return res, err
} }
res.Content = string(profileInfo) res.Content = string(profileInfo)
@ -1240,7 +1238,6 @@ func (h *Handlers) GetCurrentProfileInfo(ctx context.Context, sym string, input
res.Content = "Not provided" res.Content = "Not provided"
break break
} }
logg.ErrorCtxf(ctx, "Failed to read gender entry with", "key", "error", common.DATA_GENDER, err)
return res, err return res, err
} }
res.Content = string(profileInfo) res.Content = string(profileInfo)
@ -1251,7 +1248,6 @@ func (h *Handlers) GetCurrentProfileInfo(ctx context.Context, sym string, input
res.Content = "Not provided" res.Content = "Not provided"
break break
} }
logg.ErrorCtxf(ctx, "Failed to read year of birth(yob) entry with", "key", "error", common.DATA_YOB, err)
return res, err return res, err
} }
res.Content = string(profileInfo) res.Content = string(profileInfo)
@ -1263,7 +1259,6 @@ func (h *Handlers) GetCurrentProfileInfo(ctx context.Context, sym string, input
res.Content = "Not provided" res.Content = "Not provided"
break break
} }
logg.ErrorCtxf(ctx, "Failed to read location entry with", "key", "error", common.DATA_LOCATION, err)
return res, err return res, err
} }
res.Content = string(profileInfo) res.Content = string(profileInfo)
@ -1274,7 +1269,6 @@ func (h *Handlers) GetCurrentProfileInfo(ctx context.Context, sym string, input
res.Content = "Not provided" res.Content = "Not provided"
break break
} }
logg.ErrorCtxf(ctx, "Failed to read offerings entry with", "key", "error", common.DATA_OFFERINGS, err)
return res, err return res, err
} }
res.Content = string(profileInfo) res.Content = string(profileInfo)

View File

@ -1,5 +1,5 @@
MOUT retry 1 MOUT retry 0
MOUT quit 9 MOUT quit 9
HALT HALT
INCMP _ 1 INCMP _ 0
INCMP quit 9 INCMP quit 9

View File

@ -5,8 +5,7 @@ RELOAD get_current_profile_info
MAP get_current_profile_info MAP get_current_profile_info
MOUT back 0 MOUT back 0
HALT HALT
LOAD verify_yob 6 LOAD verify_yob 0
RELOAD verify_yob
CATCH incorrect_date_format flag_incorrect_date_format 1 CATCH incorrect_date_format flag_incorrect_date_format 1
LOAD save_yob 0 LOAD save_yob 0
RELOAD save_yob RELOAD save_yob