Fixed bugs - tasks not throwing returning relevant messages when an exception was thrown.