forked from baron/baron-sso
style(userfront): format dart files to fix ci pipeline
This commit is contained in:
@@ -1072,7 +1072,8 @@ class AuthProxyService {
|
||||
}
|
||||
} catch (e) {
|
||||
// Fallback if the body isn't valid JSON (e.g., an HTML error page)
|
||||
errorMessage = 'Server error (${response.statusCode}): ${response.body.isNotEmpty ? response.body.substring(0, response.body.length > 100 ? 100 : response.body.length) : "Unknown error"}';
|
||||
errorMessage =
|
||||
'Server error (${response.statusCode}): ${response.body.isNotEmpty ? response.body.substring(0, response.body.length > 100 ? 100 : response.body.length) : "Unknown error"}';
|
||||
}
|
||||
throw Exception(errorMessage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user