Commit 50bd6235 authored by Noel Alonso's avatar Noel Alonso
Browse files

Imprime posible excepción

parent e0f07cc8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ public class HttpClient {
		try {
			response = restTemplate.exchange(url, HttpMethod.GET, null, templateClass);
		} catch (Exception e) {
			e.printStackTrace();
		}

		if (response != null && response.getStatusCode().is2xxSuccessful())