Skip to content

Commit

Permalink
db_cluster: Add RPC error message when clusters not found
Browse files Browse the repository at this point in the history
  • Loading branch information
oej committed Jan 3, 2022
1 parent 82845ea commit fc0ee0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/db_cluster/db_cluster_mod.c
Expand Up @@ -339,6 +339,7 @@ static void dbcl_rpc_list_clusters(rpc_t *rpc, void *c)
if(cls==NULL)
{
LM_ERR("root not set\n");
rpc->fault(c, 500, "Clusters not found");
return;
}

Expand Down

0 comments on commit fc0ee0b

Please sign in to comment.