Navigation Menu

Skip to content

Commit

Permalink
Show more error message when database open is failed
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 29, 2015
1 parent e50b89b commit 94167d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groonga.c
Expand Up @@ -734,7 +734,7 @@ start_service(grn_ctx *ctx, const char *db_path,
exit_code = run_server(ctx, db, &ev, dispatcher, handler);
grn_obj_close(ctx, db);
} else {
fprintf(stderr, "db open failed (%s)\n", db_path);
fprintf(stderr, "db open failed (%s): %s\n", db_path, ctx->errbuf);
exit_code = EXIT_FAILURE;
send_ready_notify();
}
Expand Down

0 comments on commit 94167d2

Please sign in to comment.