Skip to content

Commit

Permalink
Merge pull request #91 from zkemail/feat/improve_error_without_command
Browse files Browse the repository at this point in the history
Improve the error message when there is no command.
  • Loading branch information
SoraSuegami authored Nov 25, 2024
2 parents df8bc40 + 54f81f5 commit 75d32b8
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 75d32b8

Please sign in to comment.