@ -135,7 +135,7 @@ import ContactListHeader from "../components/ContactListHeader.vue";
import ContactBulkActions from "../components/ContactBulkActions.vue" ;
import LargeIdenticonModal from "../components/LargeIdenticonModal.vue" ;
import { APP_SERVER , AppString , NotificationIface } from "../constants/app" ;
import { logConsoleAndDb } from "../db/index" ;
/ / L e g a c y l o g g i n g i m p o r t r e m o v e d - u s i n g P l a t f o r m S e r v i c e M i x i n m e t h o d s
import { Contact } from "../db/tables/contacts" ;
import { getContactJwtFromJwtUrl } from "../libs/crypto" ;
import { decodeEndorserJwt } from "../libs/crypto/vc" ;
@ -383,7 +383,7 @@ export default class ContactsView extends Vue {
/ / e s l i n t - d i s a b l e - n e x t - l i n e @ t y p e s c r i p t - e s l i n t / n o - e x p l i c i t - a n y
} catch ( error : any ) {
const fullError = "Error redeeming invite: " + errorStringForLog ( error ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
let message = "Got an error sending the invite." ;
if (
error . response &&
@ -566,7 +566,7 @@ export default class ContactsView extends Vue {
this . givenToMeUnconfirmed = givenToMeUnconfirmed ;
} catch ( error ) {
const fullError = "Error loading gives: " + errorStringForLog ( error ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
this . notify . error ( NOTIFY_GIVES_LOAD_ERROR . message ) ;
}
}
@ -639,7 +639,7 @@ export default class ContactsView extends Vue {
} catch ( e ) {
const fullError =
"Error adding contacts from CSV: " + errorStringForLog ( e ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
this . notify . error ( NOTIFY_CONTACTS_ADD_ERROR . message ) ;
}
@ -727,7 +727,7 @@ export default class ContactsView extends Vue {
} catch ( e ) {
const fullError =
"Error adding contacts from array: " + errorStringForLog ( e ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
this . notify . error ( NOTIFY_CONTACT_INPUT_PARSE_ERROR . message ) ;
}
}
@ -872,7 +872,7 @@ export default class ContactsView extends Vue {
private handleContactAddError ( err : any ) : void {
const fullError =
"Error when adding contact to storage: " + errorStringForLog ( err ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
let message = NOTIFY_CONTACT_IMPORT_ERROR . message ;
if (
@ -918,7 +918,7 @@ export default class ContactsView extends Vue {
}
} catch ( error ) {
const fullError = "Error when registering: " + errorStringForLog ( error ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
let userMessage = NOTIFY_REGISTRATION_ERROR_GENERIC . message ;
const serverError = error as AxiosError ;
if ( serverError . isAxiosError ) {
@ -1085,7 +1085,7 @@ export default class ContactsView extends Vue {
} catch ( err ) {
const fullError =
"Error updating contact-amounts setting: " + errorStringForLog ( err ) ;
logConsoleAndDb ( fullError , true ) ;
this . $ logAnd Console( fullError , true ) ;
/ / U s e n o t i f i c a t i o n h e l p e r a n d c o n s t a n t
this . notify . error (
NOTIFY_CONTACT_SETTING_SAVE_ERROR . message ,
@ -1225,7 +1225,7 @@ export default class ContactsView extends Vue {
) ;
}
} catch ( error ) {
logConsoleAndDb (
this . $ logAnd Console(
"Error checking meeting status:" + errorStringForLog ( error ) ,
) ;
/ / U s e n o t i f i c a t i o n h e l p e r