Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 8f13173

Browse files
committed
chore(manager): return internal error instead of forbidden error on auth hook (#1025)
1 parent b036bb9 commit 8f13173

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/src/manager/auth.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ export async function authenticateRequest(
8383
}
8484
} catch (error) {
8585
logger().info("authentication error", { error: stringifyError(error) });
86-
if (errors.ActorError.isActorError(error)) {
87-
throw error;
88-
}
89-
throw new errors.Forbidden("Authentication failed");
86+
throw error;
9087
}
9188
}
9289

0 commit comments

Comments
 (0)