feat: more exception handling in ConfigsController