Navigation Menu

Skip to content

Commit

Permalink
clearlock: show not found target name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 14, 2012
1 parent b43793a commit d8a3c6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/proc.c
Expand Up @@ -1537,7 +1537,8 @@ proc_clearlock(grn_ctx *ctx, int nargs, grn_obj **args, grn_user_data *user_data
if (obj) {
grn_obj_clear_lock(ctx, obj);
} else {
ERR(GRN_INVALID_ARGUMENT, "clear object not found");
ERR(GRN_INVALID_ARGUMENT, "[clearlock] target object not found: <%.*s>",
target_name_len, GRN_TEXT_VALUE(target_name));
}
GRN_OUTPUT_BOOL(!ctx->rc);
return NULL;
Expand Down

0 comments on commit d8a3c6a

Please sign in to comment.