Skip to content

Commit

Permalink
Fix Set IsRunningFlag to false after DbVouchers importation
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcota committed Dec 21, 2021
1 parent cfc8a1b commit ad87a7d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ internal async Task Start(ImportVouchersCommand command) {
await Task.Run(() => {
try {
ImportVouchers(command);

SetIsRunningFlag(false);

} catch (Exception e) {
EmpiriaLog.Error(e);
SetIsRunningFlag(false);
Expand Down

0 comments on commit ad87a7d

Please sign in to comment.