Commit 045f5cc3 authored by Matija Obreza's avatar Matija Obreza
Browse files

Log error to console when API client cannot be instantiated

parent b49bc9ad
......@@ -269,6 +269,7 @@ public class SettingsDialog extends Dialog {
try {
genesysClient = SpringConfig.createGenesysClient(oauthSettings);
} catch (IllegalArgumentException e) {
_log.error("Can't create Geneys API client", e);
txtClientKey.forceFocus();
return;
}
......
Markdown is supported
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