Skip to content

fix(server): delete book in processing crashes app

Alexandros Georgantas requested to merge dev into main

Adds the option to pass a default result to 'getBookComponent'; now, when there is no book matching component:

  • 'default_' undefined - throw error
  • 'default_' defined - return error

This allows error logging to detect the missing book component without the risk of throwing a new error.

Merge request reports