diff options
Diffstat (limited to 'server/src/git_root.rs')
| -rw-r--r-- | server/src/git_root.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/server/src/git_root.rs b/server/src/git_root.rs index 8102b18..bb6e5af 100644 --- a/server/src/git_root.rs +++ b/server/src/git_root.rs @@ -169,7 +169,13 @@ async fn git_process_prehook( continue; } - let (state, rewrite) = result?; + let (state, rewrite) = match result { + Ok(data) => data, + Err(e) => { + errors.push(e.message); + continue; + } + }; match state { api_model::ReviewState::Dropped => { |
