From 363cde29f4139953485a3ec04743025b35271c22 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Tue, 8 Mar 2016 14:39:53 -0500 Subject: [PATCH] psql: add debug message for duplicate layers --- database/pgsql/layer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/database/pgsql/layer.go b/database/pgsql/layer.go index e19b371d..71e5726a 100644 --- a/database/pgsql/layer.go +++ b/database/pgsql/layer.go @@ -278,6 +278,7 @@ func (pgSQL *pgSQL) InsertLayer(layer database.Layer) error { if isErrUniqueViolation(err) { // Ignore this error, another process collided. + log.Debug("Attempted to insert duplicate layer.") return nil } return handleError("insertLayer", err)