Changing debug to warn for caught throwable