Skip to content

Commit

Permalink
chore: Update page load failed message.
Browse files Browse the repository at this point in the history
  • Loading branch information
osala-eng committed Sep 27, 2023
1 parent 2f5c0af commit cc91247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/utils/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
from typing import List, Tuple

import streamlit as st
from docq import setup
from docq.access_control.main import SpaceAccessType
from docq.config import FeatureType, LogType, SpaceType, SystemSettingsKey
from docq.domain import DocumentListItem, FeatureKey, SpaceKey
from docq.manage_users import list_users_by_org
from st_pages import hide_pages
from streamlit.components.v1 import html
from streamlit.delta_generator import DeltaGenerator
from docq import setup

from .constants import ALLOWED_DOC_EXTS, SessionKeyNameForAuth, SessionKeyNameForChat
from .formatters import format_archived, format_datetime, format_filesize, format_timestamp
Expand Down Expand Up @@ -887,6 +887,6 @@ def load_setup_ui() -> None:
try:
setup.init()
except Exception as e:
st.error("Error while setting up the app please refer to logs for more details.")
st.error("Docq encountered an error while initializing please refer to logs for more details.")
log.exception("Error while setting up the app: %s", e)
st.stop()

0 comments on commit cc91247

Please sign in to comment.