Skip to content

Commit

Permalink
action.yml: manage the case message is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Mar 20, 2024
1 parent 6fc274c commit e38c31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ runs:
}
try {
if (options.key && patchExplained === null && patch.type !== "simple" && logError.message !== "debounce" && !logError.message.includes("maximum context length")) {
if (options.key && patchExplained === null && patch.type !== "simple" && logError.message !== "debounce" && !logError.message?.includes("maximum context length")) {
patchExplained = patch.watermark+"\n\n"+`logError ${logError.message}`;
}
Expand Down

0 comments on commit e38c31a

Please sign in to comment.