Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix bug in error handling

+5 -1
+5 -1
src/lib/strings.ts
··· 198 198 return str 199 199 } 200 200 201 - export function cleanError(str: string): string { 201 + export function cleanError(str: any): string { 202 + if (!str) return str 203 + if (typeof str !== 'string') { 204 + str = str.toString() 205 + } 202 206 if (isNetworkError(str)) { 203 207 return 'Unable to connect. Please check your internet connection and try again.' 204 208 }