Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jan 8, 2025
1 parent 49b37dd commit 6a75010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn-project/blob-sink/src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { NoopTelemetryClient } from '@aztec/telemetry-client/noop';

import express, { type Express, type Request, type Response, json } from 'express';
import { type Server } from 'http';
import { AddressInfo } from 'net';
import { type AddressInfo } from 'net';
import { z } from 'zod';

import { type BlobStore, DiskBlobStore } from '../blobstore/index.js';
Expand Down Expand Up @@ -143,7 +143,7 @@ export class BlobSinkServer {
const address = this.server?.address() as AddressInfo | null;
if (!address) {
this.log.error('Server address not found');
this.stop().then(() => reject(new Error('Server address not found')));
void this.stop().then(() => reject(new Error('Server address not found')));
}

this.port = address!.port;
Expand Down

0 comments on commit 6a75010

Please sign in to comment.