Commit fa498d62 authored by wannes's avatar wannes
Browse files

Catch-all Exception to avoid crashing the OpenVPN listener

parent 10164ad6
......@@ -141,7 +141,7 @@ public class DefaultServiceListener implements ServiceListener {
log.info(String.format("Refused %s (%s,%s)", client.username, client.id, client.kid));
vpn.denyClient(client.id, client.kid, "Invalid user/password combination");
}
} catch (SQLException ex) {
} catch (Exception ex) {
log.error("Failed to set client configuration", ex);
}
}
......
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