Skip to content

Commit 9f7ba81

Browse files
committed
fix: skip unique constratints error and log network error separately
1 parent a16952b commit 9f7ba81

File tree

6 files changed

+62
-16
lines changed

6 files changed

+62
-16
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ require (
288288

289289
replace (
290290
github.com/argoproj/argo-workflows/v3 v3.5.13 => github.com/devtron-labs/argo-workflows/v3 v3.5.13
291-
github.com/devtron-labs/authenticator => github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250401095543-affde454fe43
292-
github.com/devtron-labs/common-lib => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250401095543-affde454fe43
291+
github.com/devtron-labs/authenticator => github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250409100141-0a073238db4a
292+
github.com/devtron-labs/common-lib => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250409100141-0a073238db4a
293293
github.com/go-check/check => github.com/go-check/check v0.0.0-20180628173108-788fd7840127
294294
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.5.5
295295
k8s.io/api => k8s.io/api v0.29.7

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -791,10 +791,10 @@ github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc h1:VRRKCwnzq
791791
github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU=
792792
github.com/devtron-labs/argo-workflows/v3 v3.5.13 h1:3pINq0gXOSeTw2z/vYe+j80lRpSN5Rp/8mfQORh8SmU=
793793
github.com/devtron-labs/argo-workflows/v3 v3.5.13/go.mod h1:/vqxcovDPT4zqr4DjR5v7CF8ggpY1l3TSa2CIG3jmjA=
794-
github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250401095543-affde454fe43 h1:sNxDziQuDDVTch6wPI9/d6lCkIml/2RvyLK7S//Zj9c=
795-
github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250401095543-affde454fe43/go.mod h1:5lv4Wfj5ERhhvDGXe2IeES6qxjvUVCcohaRwKnWBMNo=
796-
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250401095543-affde454fe43 h1:yGHHNhpaGPpOlj5O+bT4hJrNxr1J3opRZCPWk84NGms=
797-
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250401095543-affde454fe43/go.mod h1:eJxpq4uIG1fww604WrQAlf1Gkr66b59LHaOOod6t6FA=
794+
github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250409100141-0a073238db4a h1:kGU8/Uja1/9bXqWhmWiHSQCeuO7PFMNtepJnRWngBPI=
795+
github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250409100141-0a073238db4a/go.mod h1:5lv4Wfj5ERhhvDGXe2IeES6qxjvUVCcohaRwKnWBMNo=
796+
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250409100141-0a073238db4a h1:RTv8kcREVM7CAFUK4dsVPkOvuRP4FYypTAtAreYxDCo=
797+
github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250409100141-0a073238db4a/go.mod h1:eJxpq4uIG1fww604WrQAlf1Gkr66b59LHaOOod6t6FA=
798798
github.com/devtron-labs/go-bitbucket v0.9.60-beta h1:VEx1jvDgdtDPS6A1uUFoaEi0l1/oLhbr+90xOwr6sDU=
799799
github.com/devtron-labs/go-bitbucket v0.9.60-beta/go.mod h1:GnuiCesvh8xyHeMCb+twm8lBR/kQzJYSKL28ZfObp1Y=
800800
github.com/devtron-labs/protos v0.0.3-0.20250323220609-ecf8a0f7305e h1:U6UdYbW8a7xn5IzFPd8cywjVVPfutGJCudjePAfL/Hs=

vendor/github.com/devtron-labs/authenticator/client/oidcClient.go

+7-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/devtron-labs/common-lib/utils/CommonUtils.go

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/devtron-labs/common-lib/utils/SqlUtil.go

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -342,15 +342,15 @@ github.com/davecgh/go-spew/spew
342342
# github.com/deckarep/golang-set v1.8.0
343343
## explicit; go 1.17
344344
github.com/deckarep/golang-set
345-
# github.com/devtron-labs/authenticator v0.4.35-0.20240809073103-6e11da8083f8 => github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250401095543-affde454fe43
345+
# github.com/devtron-labs/authenticator v0.4.35-0.20240809073103-6e11da8083f8 => github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250409100141-0a073238db4a
346346
## explicit; go 1.21
347347
github.com/devtron-labs/authenticator/apiToken
348348
github.com/devtron-labs/authenticator/client
349349
github.com/devtron-labs/authenticator/jwt
350350
github.com/devtron-labs/authenticator/middleware
351351
github.com/devtron-labs/authenticator/oidc
352352
github.com/devtron-labs/authenticator/password
353-
# github.com/devtron-labs/common-lib v0.18.1-0.20241001061923-eda545dc839e => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250401095543-affde454fe43
353+
# github.com/devtron-labs/common-lib v0.18.1-0.20241001061923-eda545dc839e => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250409100141-0a073238db4a
354354
## explicit; go 1.21
355355
github.com/devtron-labs/common-lib/async
356356
github.com/devtron-labs/common-lib/blob-storage
@@ -2220,8 +2220,8 @@ xorm.io/xorm/log
22202220
xorm.io/xorm/names
22212221
xorm.io/xorm/schemas
22222222
xorm.io/xorm/tags
2223-
# github.com/devtron-labs/authenticator => github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250401095543-affde454fe43
2224-
# github.com/devtron-labs/common-lib => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250401095543-affde454fe43
2223+
# github.com/devtron-labs/authenticator => github.com/devtron-labs/devtron-services/authenticator v0.0.0-20250409100141-0a073238db4a
2224+
# github.com/devtron-labs/common-lib => github.com/devtron-labs/devtron-services/common-lib v0.0.0-20250409100141-0a073238db4a
22252225
# github.com/go-check/check => github.com/go-check/check v0.0.0-20180628173108-788fd7840127
22262226
# github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.5.5
22272227
# k8s.io/api => k8s.io/api v0.29.7

0 commit comments

Comments
 (0)