Skip to content

Commit

Permalink
Improve the error message when there is no command.
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Nov 25, 2024
1 parent df8bc40 commit 54f81f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/relayer/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ async fn get_encoded_command_params(
}?;

let command_params = extract_template_vals_from_command(&params.email_body, command_template)
.map_err(|e| EmailError::Body(format!("Invalid commad: {}", e)))?;
.map_err(|e| EmailError::Body(format!("Invalid commad: {}. If you receive this error message even though you replied directly to the email we sent, we recommend using the Gmail website on your PC or the Gmail app on your mobile device.", e)))?;

let command_params_encoded = command_params
.iter()
Expand Down

0 comments on commit 54f81f5

Please sign in to comment.