Commit debdb9f1 authored by Matija Obreza's avatar Matija Obreza
Browse files

Minor fixes

parent 92b21fd3
......@@ -564,7 +564,9 @@ public class SettingsDialog extends Dialog {
SwtUtil.showMessageBox(getParent(), "Server redirect", "Server is redirecting to a different URL. Check your Genesys Server URL!\n\n" + e.getRedirectUrl());
} catch (PleaseRetryException e) {
_log.error("Please retry", e);
SwtUtil.showMessageBox(getParent(), "OAuth error", e.getMessage());
} catch (GenesysApiException e) {
SwtUtil.showMessageBox(getParent(), "OAuth error", e.getMessage());
_log.error("Please retry", e);
}
}
......
......@@ -54,7 +54,8 @@ public class MsAccessRowReader implements RowReader {
this.db = DatabaseBuilder.open(sourceFile);
_log.debug("CHARSET: " + db.getCharset());
this.table = db.getTable(sheetName);
this.cursor = table.newCursor().setIndexByColumnNames("INSTCODE").toCursor();
this.cursor = table.getDefaultCursor(); // table.newCursor().setIndexByColumnNames("INSTCODE").toCursor();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment