Skip to content

Commit

Permalink
fix: fixup for previous tracing error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbchron committed Feb 23, 2024
1 parent a967d94 commit ccecc3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/site-app/src/pages/purchase/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use leptos::*;
use leptos::{logging, *};

use crate::pages::PageWrapper;

Expand Down Expand Up @@ -31,6 +31,8 @@ pub fn PurchasePageMissing() -> impl IntoView {

#[component]
pub fn PurchasePageInternalError(error: String) -> impl IntoView {
logging::error!("Internal error on purchase page: {}", error);

view! {
<PurchasePageError
error="An internal error occurred while trying to fetch the photo you are trying to purchase. Please try again later.".to_string()
Expand Down

0 comments on commit ccecc3f

Please sign in to comment.