Commit fdf53b4f by pengjinyang

提交

parent 09972ebb
...@@ -31,6 +31,8 @@ namespace TakeStock.Subscriber ...@@ -31,6 +31,8 @@ namespace TakeStock.Subscriber
} }
else else
{ {
Console.WriteLine(message.ToString());
Console.WriteLine("Message processing exception - look in the default error queue (broker)");
throw new EasyNetQException("Message processing exception - look in the default error queue (broker)"); throw new EasyNetQException("Message processing exception - look in the default error queue (broker)");
} }
})); }));
...@@ -54,6 +56,7 @@ namespace TakeStock.Subscriber ...@@ -54,6 +56,7 @@ namespace TakeStock.Subscriber
} }
catch (Exception ex) catch (Exception ex)
{ {
Console.WriteLine(ex.ToString());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment