Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api/access-control: Fix NRE on error log #2320

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

victorges
Copy link
Member

2024-10-09 15:08:18.542
2024-10-09 18:08:18 [error]: Unhandled error in API path=/api/access-control/gate errType=TypeError err="The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined" stack=TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined 2024-10-09 15:08:18.542
at new NodeError (node:internal/errors:405:5)
2024-10-09 15:08:18.542
at Function.from (node:buffer:325:9)
2024-10-09 15:08:18.542
at ewa (/usr/local/src/controllers/access-control.ts:147:30)
2024-10-09 15:08:18.542
at /usr/local/src/controllers/access-control.ts:372:28

2024-10-09 15:08:18.542
2024-10-09 18:08:18 [error]: 	Unhandled error in API path=/api/access-control/gate errType=TypeError err="The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined" stack=TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
2024-10-09 15:08:18.542
    at new NodeError (node:internal/errors:405:5)
2024-10-09 15:08:18.542
    at Function.from (node:buffer:325:9)
2024-10-09 15:08:18.542
    at ewa (/usr/local/src/controllers/access-control.ts:147:30)
2024-10-09 15:08:18.542
    at /usr/local/src/controllers/access-control.ts:372:28
@victorges victorges requested a review from a team as a code owner October 9, 2024 18:20
Copy link

vercel bot commented Oct 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
livepeer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2024 6:22pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants