psql: add debug message for duplicate layers

This commit is contained in:
Jimmy Zelinskie 2016-03-08 14:39:53 -05:00
parent 7bea9cbe45
commit 363cde29f4

View File

@ -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)