Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/web/src/site/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use axum::{
routing::get,
};
use sourceorigin_common::{
ErrorChain,
config::Origin,
protocol::headers::{self, ReferrerPolicy},
};
Expand Down Expand Up @@ -142,7 +143,7 @@ impl Site {
)
.into_response(),
Err(error) => {
tracing::error!(error = %error, page = page.path(), "page could not be rendered");
tracing::error!(error = %ErrorChain(&*error), page = page.path(), "page could not be rendered");
StatusCode::INTERNAL_SERVER_ERROR.into_response()
}
}
Expand Down