Skip to content

Conversation

rommni
Copy link

@rommni rommni commented Apr 7, 2025

We have a problem using export on our systems, when a bad token is sent to the Authorization system it throws the following error:

TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them

The error seems to be caused by AuthenticationError captureStackTrace which uses arguments.callee.

Checklist

  • I have read the CONTRIBUTING guidelines.
  • I have added test cases which verify the correct operation of this feature or patch. --- not concerned
  • I have added documentation pertaining to this feature or patch. -- not concerned
  • The automated test suite ($ make test) executes successfully.
  • The automated code linting ($ make lint) executes successfully. -- some lint errors however they do not concern the code i edited

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.

1 participant