File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,16 @@ class AuthService {
213213 try {
214214 // Invalidate the token using the AuthTokenService
215215 await _authTokenService.invalidateToken (token);
216- print ('[AuthService] Token invalidation logic executed for user $userId .' );
216+ print (
217+ '[AuthService] Token invalidation logic executed for user $userId .' );
217218 } on HtHttpException catch (_) {
218219 // Propagate known exceptions from the token service
219220 rethrow ;
220221 } catch (e) {
221222 // Catch unexpected errors during token invalidation
222- print ('[AuthService] Error during token invalidation for user $userId : $e ' );
223- throw OperationFailedException (
223+ print (
224+ '[AuthService] Error during token invalidation for user $userId : $e ' );
225+ throw const OperationFailedException (
224226 'Failed server-side sign-out: Token invalidation failed.' ,
225227 );
226228 }
You can’t perform that action at this time.
0 commit comments