diff --git a/ash/whitelist.go b/ash/whitelist.go index 5ce74799..442753f1 100644 --- a/ash/whitelist.go +++ b/ash/whitelist.go @@ -40,7 +40,7 @@ func (m *Matrix) CollectFields(i int, tags ...string) []string { for field, permission := range m.Fields { // ensure field if coal.GetMeta(m.Model).Fields[field] == nil { - panic("hash: missing field " + field) + panic("ash: missing field " + field) } // check tags diff --git a/blaze/bucket.go b/blaze/bucket.go index 452ba0a4..b403aa91 100644 --- a/blaze/bucket.go +++ b/blaze/bucket.go @@ -47,7 +47,7 @@ func NewBucket(store *coal.Store, notary *heat.Notary, bindings ...*Binding) *Bu func (b *Bucket) Use(service Service, name string, upload bool) { // check existence if b.services[name] != nil { - panic("duplicate service name") + panic("blaze: duplicate service name") } // store service