cli: Gather notifications also in the error case
This commit is contained in:
parent
6280e67e3a
commit
5320ef0660
|
@ -12,7 +12,7 @@ set(META_GUI_OPTIONAL true)
|
|||
set(META_JS_SRC_DIR renamingutility)
|
||||
set(META_VERSION_MAJOR 2)
|
||||
set(META_VERSION_MINOR 3)
|
||||
set(META_VERSION_PATCH 3)
|
||||
set(META_VERSION_PATCH 4)
|
||||
set(META_NO_TIDY ON)
|
||||
|
||||
# add project files
|
||||
|
|
|
@ -689,7 +689,6 @@ void setTagInfo(const SetTagInfoArgs &args)
|
|||
|
||||
// apply changes and gather notifications
|
||||
fileInfo.applyChanges();
|
||||
fileInfo.gatherRelatedNotifications(notifications);
|
||||
|
||||
// notify about completion
|
||||
finalizeLog();
|
||||
|
@ -711,6 +710,7 @@ void setTagInfo(const SetTagInfoArgs &args)
|
|||
cerr << " - " << Phrases::Error << "An IO failure occured when reading/writing the file \"" << file << "\"." << Phrases::EndFlush;
|
||||
}
|
||||
|
||||
fileInfo.gatherRelatedNotifications(notifications);
|
||||
printNotifications(notifications, "Notifications:", args.verboseArg.isPresent());
|
||||
|
||||
// continue with next file
|
||||
|
|
Loading…
Reference in New Issue