Skip to content

Commit d3d3334

Browse files
committed
fix: change log.info to log.softfail
1 parent 6e1bf5e commit d3d3334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/actor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export async function getActorsAsTools(
287287
try {
288288
const actorDefinitionPruned = await getActorDefinition(actorIdOrName, apifyClient);
289289
if (!actorDefinitionPruned) {
290-
log.info('Actor not found or definition is not available', { actorName: actorIdOrName });
290+
log.softFail('Actor not found or definition is not available', { actorName: actorIdOrName, statusCode: 404 });
291291
return null;
292292
}
293293
// Cache the pruned Actor definition

0 commit comments

Comments
 (0)