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};
|
return {rows,chartResult:crows};
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Error fetching users: ', err);
|
console.error('Error fetching users: ', err.message);
|
||||||
throw new Error('Error fetching users');
|
// throw new Error('Error fetching users');
|
||||||
|
return {error:"Invalid username or password"}
|
||||||
} finally { }
|
} finally { }
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user