added log for exceptions for a task submitted to the agency