diff --git a/src/main/java/org/vietabroader/controller/SpreadsheetConnectController.java b/src/main/java/org/vietabroader/controller/SpreadsheetConnectController.java index c6a42f1..8ea86d2 100644 --- a/src/main/java/org/vietabroader/controller/SpreadsheetConnectController.java +++ b/src/main/java/org/vietabroader/controller/SpreadsheetConnectController.java @@ -88,9 +88,9 @@ protected void done() { Throwable innerEx = ex.getCause(); String errorMessage = ""; if (innerEx instanceof GoogleJsonResponseException) { - GoogleJsonResponseException gjsonEx = (GoogleJsonResponseException)innerEx; - errorMessage = gjsonEx.getDetails().getMessage(); - logger.error("Error while loading spreadsheet", gjsonEx); + GoogleJsonResponseException gJsonEx = (GoogleJsonResponseException)innerEx; + errorMessage = gJsonEx.getDetails().getMessage(); + logger.error("Error while loading spreadsheet", gJsonEx); } else { errorMessage = "Cannot connect to this spreadsheet.";