diff --git a/js-fp3/infrastructure/repository.js b/js-fp3/infrastructure/repository.js index d734502..3333626 100644 --- a/js-fp3/infrastructure/repository.js +++ b/js-fp3/infrastructure/repository.js @@ -34,5 +34,7 @@ export const createInMemoryRepository = () => { ); }; + // What if something goes wrong? + // throw new Error('Repository creation failed for external reasons'); return { loadAccount: getById, saveAccount: save }; };