Skip to content

Commit

Permalink
fixed panics
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Feb 19, 2024
1 parent 3a601f0 commit b2e820e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ash/whitelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion blaze/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2e820e

Please sign in to comment.