mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: reduce excessive logging when database is unreachable (#17363)
Fixes #17045 --------- Signed-off-by: Danny Kopping <dannykopping@gmail.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package codersdk
|
||||
|
||||
import "golang.org/x/xerrors"
|
||||
|
||||
const DatabaseNotReachable = "database not reachable"
|
||||
|
||||
var ErrDatabaseNotReachable = xerrors.New(DatabaseNotReachable)
|
||||
Reference in New Issue
Block a user