We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6b2040 commit 4712324Copy full SHA for 4712324
1 file changed
Sources/BreezeLambdaAPI/BreezeLambdaAPI.swift
@@ -87,14 +87,7 @@ public actor BreezeLambdaAPI<T: BreezeCodable>: Service {
87
///
88
/// The internal ServiceGroup will handle the lifecycle of the BreezeLambdaAPI, including starting and stopping the service gracefully.
89
public func run() async throws {
90
- logger.info("Starting BreezeLambdaAPI...")
91
- do {
92
- try await serviceGroup.run()
93
- } catch {
94
- try dynamoDBService.syncShutdown()
95
- logger.error("BreezeLambdaAPI failed with error: \(error.localizedDescription)")
96
- throw error
97
- }
+ try await serviceGroup.run()
98
logger.info("BreezeLambdaAPI is stopped successfully")
99
}
100
0 commit comments