mirror of
https://github.com/goldbergyoni/nodebestpractices.git
synced 2025-10-31 01:28:30 +08:00
Align the right curly brace with the public keyword
This commit is contained in:
@ -107,8 +107,8 @@ class ErrorHandler {
|
|||||||
public async handleError(error: Error, responseStream: Response): Promise<void> {
|
public async handleError(error: Error, responseStream: Response): Promise<void> {
|
||||||
await logger.logError(error);
|
await logger.logError(error);
|
||||||
await fireMonitoringMetric(error);
|
await fireMonitoringMetric(error);
|
||||||
await crashIfUntrustedErrorOrSendResponse(error, responseStream);
|
await crashIfUntrustedErrorOrSendResponse(error, responseStream);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export const handler = new ErrorHandler();
|
export const handler = new ErrorHandler();
|
||||||
|
|||||||
Reference in New Issue
Block a user