feat: add error messages for missing build cache (#2551)

This commit is contained in:
Marvin Hagemeister
2024-06-26 15:33:25 +02:00
committed by GitHub
parent 28eca25a42
commit fc820e8965
8 changed files with 89 additions and 12 deletions
+4 -1
View File
@@ -171,7 +171,10 @@ export class App<State> {
(request: Request, info?: Deno.ServeHandlerInfo) => Promise<Response>
> {
if (this.#buildCache === null) {
this.#buildCache = await ProdBuildCache.fromSnapshot(this.config);
this.#buildCache = await ProdBuildCache.fromSnapshot(
this.config,
this.#islandRegistry.size,
);
}
if (