Remove unnecessary try/catch block in Logic.viewTask