We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f3ce57 commit ed3a706Copy full SHA for ed3a706
1 file changed
diesel_migrations/src/errors.rs
@@ -43,9 +43,10 @@ impl fmt::Display for MigrationError {
43
<timestamp>_<name_of_migration>, and it should only contain up.sql and down.sql."
44
),
45
MigrationError::IoError(ref error) => write!(f, "{}", error),
46
- MigrationError::UnknownMigrationVersion(_) => write!(
+ MigrationError::UnknownMigrationVersion(ref version) => write!(
47
f,
48
- "Unable to find migration version to revert in the migrations directory."
+ "Unable to find migration version {} to revert in the migrations directory.",
49
+ version
50
51
MigrationError::NoMigrationRun => write!(
52
0 commit comments