-
Notifications
You must be signed in to change notification settings - Fork 23
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
fix: local only unless remote is enabled(default) #438
Conversation
SgtPooki
commented
Sep 11, 2024
- tmp: testing dynamic import
- chore: temporarily disable delegated routing
- fix: getHashersForCodes handles errors gracefully
- fix: revert version, other minor changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self review
const hashers: SupportedHashers[] = [] | ||
for (const code of codes) { | ||
try { | ||
hashers.push(await getHasherForCode(code)) | ||
} catch (error) { | ||
console.error(`Failed to get hasher for code ${code}: ${error}`) | ||
} | ||
} | ||
return hashers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes an issue where trying to import a non-existent hasher would throw and break webui
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self review of changes