Skip to content

Commit

Permalink
Merge pull request #31 from payman81/issue-16
Browse files Browse the repository at this point in the history
issue-16 Try to create error queue if it doesn't exist.
  • Loading branch information
ILikePies committed Sep 18, 2014
2 parents fc9c8c8 + eded871 commit 70e14e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JustSaying.AwsTools/SqsQueueByName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void EnsureQueueAndErrorQueueExistAndAllAttributesAreUpdated(SqsConfigura
ErrorQueueRetentionPeriodSeconds = queueConfig.ErrorQueueRetentionPeriodSeconds,
ErrorQueueOptOut = true
};
if (ErrorQueue.Exists())
if (!ErrorQueue.Exists())
{

ErrorQueue.Create(errorQueueConfig);
Expand Down

0 comments on commit 70e14e9

Please sign in to comment.