mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Fixed some issues
This commit is contained in:
parent
aca78bf89a
commit
e795050a95
4 changed files with 30 additions and 9 deletions
|
@ -21,7 +21,11 @@ bool compareVersions({
|
|||
return false;
|
||||
}
|
||||
} catch (e) {
|
||||
Sentry.captureException(e);
|
||||
Sentry.captureException(e, hint: Hint.withMap({
|
||||
"fn": "compareVersions",
|
||||
"currentVersion": currentVersion,
|
||||
"newVersion": newVersion,
|
||||
}));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +57,11 @@ bool compareBetaVersions({
|
|||
return false;
|
||||
}
|
||||
} catch (e) {
|
||||
Sentry.captureException(e);
|
||||
Sentry.captureException(e, hint: Hint.withMap({
|
||||
"fn": "compareBetaVersions",
|
||||
"currentVersion": currentVersion,
|
||||
"newVersion": newVersion,
|
||||
}));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -120,7 +128,12 @@ bool serverVersionIsAhead({
|
|||
}
|
||||
}
|
||||
} catch (e) {
|
||||
Sentry.captureException(e);
|
||||
Sentry.captureException(e, hint: Hint.withMap({
|
||||
"fn": "serverVersionIsAhead",
|
||||
"currentVersion": currentVersion,
|
||||
"referenceVersion": referenceVersion,
|
||||
"referenceVersionBeta": referenceVersionBeta ?? ""
|
||||
}));
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue