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

Enable strict typing in ./server #3319

Open
leafty opened this issue Sep 16, 2024 · 0 comments
Open

Enable strict typing in ./server #3319

leafty opened this issue Sep 16, 2024 · 0 comments

Comments

@leafty
Copy link
Member

leafty commented Sep 16, 2024

See for example:

error: Cannot read properties of undefined (reading 'toLowerCase') {"service":"renku-ui-server"}
info: Sending error to sentry {"service":"renku-ui-server"}
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at Authenticator.<anonymous> (/app/dist/authentication/authenticator.js:64:18)
    at Generator.next (<anonymous>)
    at /app/dist/authentication/authenticator.js:25:71
    at new Promise (<anonymous>)
    at __awaiter (/app/dist/authentication/authenticator.js:21:12)
    at Authenticator.authenticate (/app/dist/authentication/authenticator.js:58:16)
    at /app/dist/authentication/authenticator.js:104:34
    at Generator.next (<anonymous>)
    at /app/dist/authentication/authenticator.js:25:71
    at new Promise (<anonymous>)

https://swiss-data-science.slack.com/archives/C67N59QL8/p1726497309083839

leafty added a commit that referenced this issue Sep 17, 2024
Fixes `uiserver` crash looping when Sentry is enabled.

See also: #3319.
ciyer pushed a commit that referenced this issue Sep 19, 2024
Fixes `uiserver` crash looping when Sentry is enabled.

See also: #3319.
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

No branches or pull requests

1 participant