We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed61e74 commit 8f64727Copy full SHA for 8f64727
Sources/swift-openapi-generator/GenerateOptions+runGenerator.swift
@@ -78,11 +78,15 @@ extension _GenerateOptions {
78
isDryRun: isDryRun,
79
diagnostics: diagnostics
80
)
81
+ try finalizeDiagnostics()
82
} catch let error as Diagnostic {
83
// Emit our nice Diagnostics message instead of relying on ArgumentParser output.
84
diagnostics.emit(error)
85
86
throw ExitCode.failure
87
+ } catch {
88
89
+ throw error
90
}
- try finalizeDiagnostics()
91
92
0 commit comments