You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ctxLogger.Error(stacktrace.Propagate(err, fmt.Sprintf("cannot unmarshall contents [%s] into type [%T] for file [%s]", b.Bytes(), messages, header.Filename)))
106
+
ctxLogger.Error(stacktrace.Propagate(err, fmt.Sprintf("cannot unmarshall contents [%s] into type [%T] for file [%s] and user [%s]", b.Bytes(), messages, header.Filename, userID)))
78
107
result.Add("document", fmt.Sprintf("Cannot read the conents of the uploaded file [%s].", header.Filename))
79
108
returnnil, result
80
109
}
81
110
82
-
iflen(messages) ==0 {
83
-
result.Add("document", "The CSV file doesn't contain any valid records. Make sure you are using the official httpSMS template.")
84
-
returnmessages, result
85
-
}
86
-
87
-
iflen(messages) >100 {
88
-
result.Add("document", "The CSV file must contain less than 100 records.")
0 commit comments