@rse/ase 0.0.23 → 0.0.24

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.
@@ -526,9 +526,9 @@ export default class ServiceCommand {
526
526
  await mcp.connect(transport);
527
527
  await transport.handleRequest(request.raw.req, request.raw.res, body);
528
528
  }
529
- catch (_err) {
530
- const err = _err instanceof Error ? _err : new Error(String(_err));
531
- this.log.write("error", `mcp: ${err.message}`);
529
+ catch (err) {
530
+ const message = err instanceof Error ? err.message : String(err);
531
+ this.log.write("error", `mcp: ${message}`);
532
532
  if (!request.raw.res.headersSent) {
533
533
  request.raw.res.statusCode = 500;
534
534
  request.raw.res.end();
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "homepage": "http://github.com/rse/ase",
7
7
  "repository": { "url": "git+https://github.com/rse/ase.git", "type": "git" },
8
8
  "bugs": { "url": "http://github.com/rse/ase/issues" },
9
- "version": "0.0.23",
9
+ "version": "0.0.24",
10
10
  "license": "GPL-3.0-only",
11
11
  "author": {
12
12
  "name": "Dr. Ralf S. Engelschall",