Skip to content

Commit e38c31a

Browse files
committed
action.yml: manage the case message is not defined
1 parent 6fc274c commit e38c31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ runs:
237237
}
238238
239239
try {
240-
if (options.key && patchExplained === null && patch.type !== "simple" && logError.message !== "debounce" && !logError.message.includes("maximum context length")) {
240+
if (options.key && patchExplained === null && patch.type !== "simple" && logError.message !== "debounce" && !logError.message?.includes("maximum context length")) {
241241
patchExplained = patch.watermark+"\n\n"+`logError ${logError.message}`;
242242
}
243243

0 commit comments

Comments
 (0)