Skip to content

Commit

Permalink
flux-overlay: fix trace error message
Browse files Browse the repository at this point in the history
Problem: when flux-overlay trace encounters an error decoding
the trace response, it prints errors twice.

Use flux_msg_exit() not flux_err_exit().
  • Loading branch information
garlick committed Oct 11, 2024
1 parent 8693d83 commit 5a748b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/builtin/overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ static int subcmd_trace (optparse_t *p, int ac, char *av[])
"payload", &payload_json,
"errnum", &errnum,
"errstr", &errstr) < 0)
log_err_exit ("%s", future_strerror (f, errno));
log_msg_exit ("%s", future_strerror (f, errno));

if (errnum > 0) {
if (errstr && strlen (errstr) > 0)
Expand Down

0 comments on commit 5a748b7

Please sign in to comment.