Skip to content

Commit 74d30fc

Browse files
committed
don't use Fatal to avoid breaking
1 parent 4a38adf commit 74d30fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/service.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func loadServiceFrom(rootCfg ConfigProvider) {
168168
// non-boolean value only supports "expensive" at the moment
169169
Service.BlockAnonymousAccessExpensive = s == "expensive"
170170
if !Service.BlockAnonymousAccessExpensive {
171-
log.Fatal("Invalid config option: REQUIRE_SIGNIN_VIEW = %s", s)
171+
log.Error("Invalid config option: REQUIRE_SIGNIN_VIEW = %s", s)
172172
}
173173
}
174174

0 commit comments

Comments
 (0)