psql: add debug message for duplicate layers
This commit is contained in:
parent
7bea9cbe45
commit
363cde29f4
@ -278,6 +278,7 @@ func (pgSQL *pgSQL) InsertLayer(layer database.Layer) error {
|
|||||||
|
|
||||||
if isErrUniqueViolation(err) {
|
if isErrUniqueViolation(err) {
|
||||||
// Ignore this error, another process collided.
|
// Ignore this error, another process collided.
|
||||||
|
log.Debug("Attempted to insert duplicate layer.")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return handleError("insertLayer", err)
|
return handleError("insertLayer", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user