@medplum/fhir-router 2.0.19 → 2.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14132,7 +14132,12 @@ spurious results.`);
14132
14132
  }
14133
14133
  const { handler, params } = result;
14134
14134
  req.params = params;
14135
- return handler(req, repo, this);
14135
+ try {
14136
+ return await handler(req, repo, this);
14137
+ }
14138
+ catch (err) {
14139
+ return [core.normalizeOperationOutcome(err)];
14140
+ }
14136
14141
  }
14137
14142
  }
14138
14143