Skip to content

Commit

Permalink
add console.warn for return
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandria.gomez authored and alexandria.gomez committed Oct 18, 2023
1 parent 119547f commit 3b484fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default function LaserficheRepositoryAccessWebPart(
}
}
} catch (error) {
console.warn(`Unable to determine if a SharePoint Page with name ${LASERFICHE_SIGNIN_PAGE_NAME} exists.`)
return false;
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export default function LaserficheAdminConfiguration(
}
}
} catch (error) {
console.warn(`Unable to determine if a SharePoint Page with name ${LASERFICHE_SIGNIN_PAGE_NAME} exists.`)
return false;
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export default function SendToLaserficheLoginComponent(
}
}
} catch (error) {
console.warn(`Unable to determine if a SharePoint Page with name ${LASERFICHE_SIGNIN_PAGE_NAME} exists.`)
return false;
}
return false;
Expand Down

0 comments on commit 3b484fc

Please sign in to comment.