Skip to content

Commit

Permalink
only log if running
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-heinz committed May 20, 2020
1 parent 03efec0 commit 81b3c42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.4
1.0.5
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ private void Consume(int unitOfOrder)
}
catch (OperationCanceledException ex)
{
Logger.Exception(ex);
Stop();
if (_isRunning)
{
Logger.Exception(ex);
Stop();
}
return;
}

Expand Down

0 comments on commit 81b3c42

Please sign in to comment.