diff --git a/registry/Dockerfile b/registry/Dockerfile index 1819084..93997da 100644 --- a/registry/Dockerfile +++ b/registry/Dockerfile @@ -8,4 +8,4 @@ ADD tsconfig.json /app/ RUN /usr/bin/deno cache --unstable src/registry.ts VOLUME [ "/app/data" ] -ENTRYPOINT [ "/usr/bin/deno", "run", "-A", "--unstable", "--config", "tsconfig.json", "/app/src/registry.ts" ] +ENTRYPOINT [ "/usr/bin/deno", "run", "-A", "--unstable", "--config", "/app/tsconfig.json", "/app/src/registry.ts" ] diff --git a/registry/src/renderer.tsx b/registry/src/renderer.tsx index 211edc5..6946cee 100644 --- a/registry/src/renderer.tsx +++ b/registry/src/renderer.tsx @@ -49,7 +49,9 @@ async function loadComponent(name: string) { const preLoad = ["index", "package", "browse_folder", "browse_file"]; preLoad.forEach((page) => - loadComponent(page).catch((err) => console.error("Error preloading", page)) + loadComponent(page).catch((err) => + console.error("Error preloading", page, err) + ) ); export default async function render(