removed breaking error add added log in auth.service
This commit is contained in:
parent
2cd381240b
commit
4026055b7d
@ -117,8 +117,9 @@ export class AuthService {
|
||||
return {rows,chartResult:crows};
|
||||
|
||||
} catch (err) {
|
||||
console.error('Error fetching users: ', err);
|
||||
throw new Error('Error fetching users');
|
||||
console.error('Error fetching users: ', err.message);
|
||||
// throw new Error('Error fetching users');
|
||||
return {error:"Invalid username or password"}
|
||||
} finally { }
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user