优化
This commit is contained in:
@@ -30,7 +30,7 @@ func errorFromPO(v errorRecordPO) *biz.ErrorRecord {
|
||||
}
|
||||
func (r *auditRecorderRepo) CreateError(ctx context.Context, v *biz.ErrorRecord) error {
|
||||
if !r.data.databaseReady.Load() {
|
||||
// GVA silently ignores error records before GVA_DB is initialized.
|
||||
// Silently ignore error records before the database is initialized.
|
||||
return nil
|
||||
}
|
||||
if v.Status == "" {
|
||||
|
||||
Reference in New Issue
Block a user