mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: better not upload in development env
This commit is contained in:
parent
3c2093d826
commit
7ff738f2c1
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ function reportError(error: Error, extra?: any) {
|
|||
if (!IN_PRODUCTION_MODE) {
|
||||
console.error(error)
|
||||
console.error('Extra:\n', extra)
|
||||
// return
|
||||
return
|
||||
}
|
||||
|
||||
Sentry.captureException(error)
|
||||
|
|
|
|||
Loading…
Reference in a new issue