Skip to content

Commit

Permalink
load-service: Mention "pipe" for log-type invalid value error message
Browse files Browse the repository at this point in the history
Signed-off-by: Mobin Aydinfar <[email protected]>
  • Loading branch information
mobin-2008 committed Sep 16, 2024
1 parent 87f8318 commit 6218c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/includes/load-service.h
Original file line number Diff line number Diff line change
Expand Up @@ -1612,8 +1612,8 @@ void process_service_line(settings_wrapper &settings, const char *name, string &
settings.log_type = log_type_id::PIPE;
}
else {
throw service_description_exc(name, "log type must be one of: \"file\", \"buffer\" or \"none\"",
"log-type", input_pos);
throw service_description_exc(name, "log type must be one of: \"file\", \"buffer\", \"pipe\","
" or \"none\"", "log-type", input_pos);
}
break;
}
Expand Down

0 comments on commit 6218c0d

Please sign in to comment.