mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use warn instead of error
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
parent
78ab3a2f90
commit
ecfa87ea93
@ -44,7 +44,7 @@ const initialScope = (processType: typeof electronProcessType[number]) => {
|
|||||||
const environment = isProduction ? "production" : "development";
|
const environment = isProduction ? "production" : "development";
|
||||||
|
|
||||||
const logInitError = (reason: string) => {
|
const logInitError = (reason: string) => {
|
||||||
logger.error(`⚠️ [SENTRY-INIT]: ${reason}, Sentry is not initialized.`);
|
logger.warn(`⚠️ [SENTRY-INIT]: ${reason}, Sentry is not initialized.`);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const SentryInit = () => {
|
export const SentryInit = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user