PkgName in error
This commit is contained in:
parent
f4b9b2a406
commit
8ef33a1127
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func (o *{{$tableNameSingular}}) Upsert(exec boil.Executor, {{if eq .DriverName
|
|||
}
|
||||
}
|
||||
if len(insert) == 0 {
|
||||
return errors.New("models: unable to upsert {{.Table.Name}}, could not build insert column list")
|
||||
return errors.New("{{.PkgName}}: unable to upsert {{.Table.Name}}, could not build insert column list")
|
||||
}
|
||||
|
||||
ret = strmangle.SetMerge(ret, {{$varNameSingular}}ColumnsWithAuto)
|
||||
|
|
Loading…
Reference in a new issue