Skip to content

Commit d71f51e

Browse files
committed
Merge branch 'fix/pref-error-msg' of https://github.com/SolidOS/solid-ui into fix/pref-error-msg
2 parents 05965e0 + 6e9b8a0 commit d71f51e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/login/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ export async function getUserRoles (): Promise<Array<NamedNode>> {
10551055
try {
10561056
const { me, preferencesFile, preferencesFileError } = await ensureLoadedPreferences({ me: currentUser })
10571057
if (!preferencesFile || preferencesFileError) {
1058-
throw new Error(preferencesFileError)
1058+
throw new Error(preferencesFileError || 'Unable to load user preferences file.')
10591059
}
10601060
return solidLogicSingleton.store.each(
10611061
me,

0 commit comments

Comments
 (0)