@ -130,7 +130,7 @@ export default class PhotoDialog extends Vue {
try {
const settings = await retrieveSettingsForActiveAccount ( ) ;
this . activeDid = settings . activeDid || "" ;
} catch ( err : any ) {
} catch ( err : unknown ) {
logger . error ( "Error retrieving settings from database:" , err ) ;
this . $notify (
{
@ -184,7 +184,7 @@ export default class PhotoDialog extends Vue {
const result = await this . platformService . takePicture ( ) ;
this . blob = result . blob ;
this . fileName = result . fileName ;
} catch ( error ) {
} catch ( error : unknown ) {
logger . error ( "Error taking picture:" , error ) ;
this . $notify (
{
@ -203,7 +203,7 @@ export default class PhotoDialog extends Vue {
const result = await this . platformService . pickImage ( ) ;
this . blob = result . blob ;
this . fileName = result . fileName ;
} catch ( error ) {
} catch ( error : unknown ) {
logger . error ( "Error picking image:" , error ) ;
this . $notify (
{
@ -270,7 +270,7 @@ export default class PhotoDialog extends Vue {
this . close ( ) ;
this . setImageCallback ( response . data . url as string ) ;
} catch ( error ) {
} catch ( error : unknown ) {
/ / L o g t h e r a w e r r o r f i r s t
logger . error ( "Raw error object:" , JSON . stringify ( error , null , 2 ) ) ;