Skip to content

Commit 7680bac

Browse files
committed
Include status page URL in read-only mode error message
1 parent 223ccc1 commit 7680bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl From<DieselError> for BoxedAppError {
147147
match err {
148148
DieselError::NotFound => not_found(),
149149
e if is_read_only_error(&e) => {
150-
let detail = "crates.io is currently in read-only mode for maintenance. Please try again later.";
150+
let detail = "crates.io is currently in read-only mode. Please check https://status.crates.io/ for details and try again later.";
151151
custom(StatusCode::SERVICE_UNAVAILABLE, detail)
152152
}
153153
DieselError::DatabaseError(DatabaseErrorKind::ClosedConnection, _) => {

0 commit comments

Comments
 (0)