Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export interface SubscriptionEventHandlers {
* instances of your application running and have passed the `CheckpointStore` to the client to load balance.
*
* If the `CloseReason` is `Shutdown`, this indicates that either `subscription.close()` was called, or an
* error occured. Unless the subscription was explicitly closed via `subscription.close()`, the subscription
* error occurred. Unless the subscription was explicitly closed via `subscription.close()`, the subscription
* will attempt to resume reading events from the last checkpoint for the partition.
*/
processClose?: ProcessCloseHandler;
Expand Down
6 changes: 3 additions & 3 deletions sdk/eventhub/event-hubs/src/pumpManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class PumpManagerImpl implements PumpManager {
await pump.start();
} catch (err: any) {
logger.verbose(
`[${this._eventProcessorName}] [${partitionId}] An error occured while adding/updating a pump: ${err}`,
`[${this._eventProcessorName}] [${partitionId}] An error occurred while adding/updating a pump: ${err}`,
);
logErrorStackTrace(err);
}
Expand All @@ -156,7 +156,7 @@ export class PumpManagerImpl implements PumpManager {
}
} catch (err: any) {
logger.verbose(
`[${this._eventProcessorName}] [${partitionId}] An error occured while removing a pump: ${err}`,
`[${this._eventProcessorName}] [${partitionId}] An error occurred while removing a pump: ${err}`,
);
logErrorStackTrace(err);
}
Expand All @@ -183,7 +183,7 @@ export class PumpManagerImpl implements PumpManager {
await Promise.all(tasks);
} catch (err: any) {
logger.verbose(
`[${this._eventProcessorName}] An error occured while removing all pumps: ${err}`,
`[${this._eventProcessorName}] An error occurred while removing all pumps: ${err}`,
);
logErrorStackTrace(err);
} finally {
Expand Down