Skip to content

Commit

Permalink
Improve accuracy of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Jun 23, 2024
1 parent 2d1f600 commit a88a514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffi/src/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ pub unsafe extern "C" fn lo_set_additional_plugins_directories(

let plugin_paths = match to_path_buf_vec(paths, num_paths) {
Ok(x) => x,
Err(x) => return error(x, "A plugin path contained a null byte"),
Err(x) => return error(x, "A plugin path was null or not valid UTF-8"),
};

handle
Expand Down

0 comments on commit a88a514

Please sign in to comment.