Skip to content

Commit ed2a203

Browse files
committed
Remove a fatalError
1 parent 66a3494 commit ed2a203

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tool/Sources/OpenAIService/CompletionAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct OpenAICompletionAPI: CompletionAPI {
112112
return try JSONDecoder().decode(CompletionResponseBody.self, from: result)
113113
} catch {
114114
dump(error)
115-
fatalError()
115+
throw error
116116
}
117117
}
118118
}

0 commit comments

Comments
 (0)