mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-25 14:30:24 +01:00
normalized internal errors formatting
This commit is contained in:
1 parent
1f08b70283
commit
01450cde44
9 files changed
+12
-12
No files matched your search
+1
-1
@@ -371,7 +371,7 @@ type recordData struct {
|
||||
func (api *realtimeApi) broadcastRecord(action string, record *models.Record, dryCache bool) error {
|
||||
collection := record.Collection()
|
||||
if collection == nil {
|
||||
return errors.New("[broadcastRecord] Record collection not set.")
|
||||
return errors.New("[broadcastRecord] Record collection not set")
|
||||
}
|
||||
|
||||
clients := api.app.SubscriptionsBroker().Clients()
|
||||
|
||||
Reference in new issue
Block a user