http://jira.mfd.msk:8088/browse/CLS-742 мелкая правка
This commit is contained in:
parent
426d608a44
commit
3d58504649
1 changed files with 2 additions and 2 deletions
|
|
@ -60,12 +60,12 @@ public class DbfImportKafkaMessenger implements InitializingBean {
|
|||
}
|
||||
|
||||
public void notifyUserAboutErrorParsing(Throwable error, ResultContainer resultContainer) {
|
||||
if (resultContainer == null || resultContainer.getDbfFile() == null || resultContainer.getDbfTable() == null)
|
||||
if (resultContainer == null || resultContainer.getDbfFile() == null)
|
||||
return;
|
||||
ETable currTable = resultContainer.getDbfTable();
|
||||
String fileName = resultContainer.getDbfFile().getName();
|
||||
log.debug("Notify user about error {} \"{}\"",
|
||||
resultContainer.getDbfTable(), fileName);
|
||||
currTable, fileName);
|
||||
sendUserNotification(ObjectType.rgst, String.format("Файл \"%s\" не сохранен", fileName), Priority.HIGH);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue