Added try-catch for failures on the extract method.